diff --git a/assets/schemas.json b/assets/schemas.json index 4209c98..995f223 100755 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -100,6 +100,27 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, + "ClientResponse": { + "type": "object", + "properties": { + "statusCode": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "headers": {} + }, + "additionalProperties": false, + "required": [ + "body", + "headers", + "statusCode" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, "HttpResponse": { "type": "object", "properties": { @@ -6923,22 +6944,93 @@ "additionalProperties": false, "$schema": "http://json-schema.org/draft-07/schema#" }, - "SupabaseResponse": { + "APIWebhook": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "urls": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "WebhookResponse": { "type": "object", "properties": { "status": { "type": "integer" }, - "error": { + "body": { "type": "object", "properties": { "message": { "type": "string" }, - "code": { + "webhook": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "urls": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "message", + "webhook" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "WebhookValidationResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "code", + "message" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CreatedUpdatedDomainCredentialsResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { "type": "string" - }, - "details": {} + } }, "additionalProperties": false, "required": [ @@ -6947,73 +7039,5190 @@ } }, "additionalProperties": false, + "required": [ + "body", + "status" + ], "$schema": "http://json-schema.org/draft-07/schema#" }, - "OpenAiResponse": { - "anyOf": [ - { - "$ref": "#/definitions/OpenAiChatCompletionObject" + "DeletedDomainCredentialsResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" }, - { - "$ref": "#/definitions/OpenAIResponseObject" + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "spec": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message", + "spec" + ] } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MessageResponse": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DestroyedDomainResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ConnectionSettingsResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "require_tls": { + "type": "boolean" + }, + "skip_verification": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "UpdatedDKIMAuthorityResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "changed": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "sending_dns_records": { + "type": "array", + "items": { + "$ref": "#/definitions/DNSRecord" + } + } + }, + "additionalProperties": false, + "required": [ + "changed", + "message", + "sending_dns_records" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" ], "definitions": { - "OpenAiChatCompletionObject": { + "DNSRecord": { + "type": "object", + "properties": { + "cached": { + "type": "array", + "items": {} + }, + "name": { + "type": "string" + }, + "record_type": { + "type": "string" + }, + "valid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "priority": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "cached", + "name", + "record_type", + "valid", + "value" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "UpdatedDKIMSelectorResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "UpdatedWebPrefixResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": {} + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIErrorOptions": { + "type": "object", + "properties": { + "headers": { + "type": "object", + "additionalProperties": {} + }, + "status": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "body": { + "type": "object", + "properties": { + "error": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false + }, + "url": { + "type": "string" + }, + "statusText": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIErrorType": { + "type": "object", + "properties": { + "stack": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "details": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "details", + "message", + "stack", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MessagesSendAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { "type": "object", "properties": { "id": { "type": "string" }, - "object": { - "type": "string", - "const": "chat.completion" - }, - "created": { - "type": "integer" - }, - "model": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "message" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "UpdateRouteResponse": { + "additionalProperties": false, + "type": "object", + "properties": { + "actions": { + "type": "array", + "items": { + "type": "string" + } + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "expression": { + "type": "string" + }, + "id": { + "type": "string" + }, + "priority": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "actions", + "created_at", + "description", + "expression", + "id", + "message", + "priority" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DestroyRouteResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "message" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsTestResultAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "result_id": { "type": "string" }, - "choices": { - "type": "array", - "items": { - "type": "object", - "properties": { - "index": { - "type": "integer" - }, - "message": { + "links": { + "type": "object", + "properties": { + "results": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "results" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "links", + "result_id", + "status" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsAttributesApiResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { + "type": "object", + "properties": { + "attribute": { + "type": "string" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "attribute", + "values" + ] + } + }, + "additionalProperties": false, + "required": [ + "items" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsValuesApiResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsFiltersApiResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "supported_filters": { + "type": "object", + "properties": { + "filters": { + "type": "array", + "items": { "type": "object", "properties": { - "role": { + "parameter": { "type": "string" }, - "content": { - "type": [ - "null", - "string" - ] - }, - "refusal": { - "type": [ - "null", - "string" - ] - }, - "annotations": { - "type": "array", - "items": {} + "description": { + "type": "string" } }, "additionalProperties": false, "required": [ - "content", - "role" + "description", + "parameter" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "filters" + ] + } + }, + "additionalProperties": false, + "required": [ + "supported_filters" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SeedsListsAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "AccountID": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "last_result_at": { + "type": "string" + }, + "Seeds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "AccountID": { + "type": "string" + }, + "id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "email": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "sync_state": { + "type": "string" + }, + "local_state": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "message_count": { + "type": "integer" + }, + "max_email_count_hit_at": { + "type": "string" + }, + "total_msgs": { + "type": "integer" + }, + "matched_msgs": { + "type": "integer" + }, + "spam_message": { + "type": "integer" + }, + "expected_msgs": { + "type": "integer" + }, + "last_sent_to_at": { + "type": "string" + }, + "last_delivered_at": { + "type": "string" + }, + "account_quality": { + "type": "integer" + }, + "quality_label": { + "type": "string" + }, + "password": { + "type": "string" + }, + "phone_number": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": {} + }, + "totp": { + "type": "object", + "properties": { + "secret": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "secret" + ] + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "account_quality", + "attributes", + "created_at", + "email", + "expected_msgs", + "id", + "last_delivered_at", + "last_sent_to_at", + "local_state", + "matched_msgs", + "max_email_count_hit_at", + "message_count", + "password", + "phone_number", + "provider", + "quality_label", + "spam_message", + "sync_state", + "token", + "total_msgs", + "totp", + "updated_at" + ] + } + }, + { + "type": "null" + } ] }, - "logprobs": {}, - "finish_reason": { + "target_email": { + "type": "string" + }, + "sending_domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_results": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "seed_filter": { + "type": "string" + }, + "mailing_list": { + "type": "string" + }, + "CreatedTS": { + "type": "integer" + }, + "tags": { + "type": "object", + "additionalProperties": {}, + "properties": { + "sfmc_remote_id": { + "type": "string" + } + } + }, + "delivery_stats": { + "type": "object", + "properties": { + "all": { + "type": "object", + "properties": { + "delivered": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "spam": { + "type": "integer" + }, + "inbox": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "provider": { + "type": "string" + }, + "categories": { + "type": "object", + "properties": { + "primary": { + "type": "integer" + }, + "promotions": { + "type": "integer" + }, + "updates": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "primary", + "promotions", + "updates" + ] + } + }, + "additionalProperties": false, + "required": [ + "categories", + "delivered", + "inbox", + "missing", + "pending", + "provider", + "spam", + "total" + ] + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "SeedQuality": { + "type": "integer" + }, + "is_auto_generated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "CreatedTS", + "ID", + "Id", + "SeedQuality", + "Seeds", + "created_at", + "delivery_stats", + "has_results", + "is_auto_generated", + "kid", + "last_result_at", + "mailing_list", + "name", + "seed_filter", + "sending_domains", + "tags", + "target_email", + "updated_at" + ] + } + }, + "paging": { + "type": "object", + "properties": { + "previous": { + "type": "string" + }, + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "first", + "last", + "next", + "previous" + ] + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "items", + "paging", + "total" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SeedListAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "AccountID": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "last_result_at": { + "type": "string" + }, + "Seeds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "AccountID": { + "type": "string" + }, + "id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "email": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "sync_state": { + "type": "string" + }, + "local_state": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "message_count": { + "type": "integer" + }, + "max_email_count_hit_at": { + "type": "string" + }, + "total_msgs": { + "type": "integer" + }, + "matched_msgs": { + "type": "integer" + }, + "spam_message": { + "type": "integer" + }, + "expected_msgs": { + "type": "integer" + }, + "last_sent_to_at": { + "type": "string" + }, + "last_delivered_at": { + "type": "string" + }, + "account_quality": { + "type": "integer" + }, + "quality_label": { + "type": "string" + }, + "password": { + "type": "string" + }, + "phone_number": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": {} + }, + "totp": { + "type": "object", + "properties": { + "secret": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "secret" + ] + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "account_quality", + "attributes", + "created_at", + "email", + "expected_msgs", + "id", + "last_delivered_at", + "last_sent_to_at", + "local_state", + "matched_msgs", + "max_email_count_hit_at", + "message_count", + "password", + "phone_number", + "provider", + "quality_label", + "spam_message", + "sync_state", + "token", + "total_msgs", + "totp", + "updated_at" + ] + } + }, + { + "type": "null" + } + ] + }, + "target_email": { + "type": "string" + }, + "sending_domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_results": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "seed_filter": { + "type": "string" + }, + "mailing_list": { + "type": "string" + }, + "CreatedTS": { + "type": "integer" + }, + "tags": { + "type": "object", + "additionalProperties": {}, + "properties": { + "sfmc_remote_id": { + "type": "string" + } + } + }, + "delivery_stats": { + "type": "object", + "properties": { + "all": { + "type": "object", + "properties": { + "delivered": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "spam": { + "type": "integer" + }, + "inbox": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "provider": { + "type": "string" + }, + "categories": { + "type": "object", + "properties": { + "primary": { + "type": "integer" + }, + "promotions": { + "type": "integer" + }, + "updates": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "primary", + "promotions", + "updates" + ] + } + }, + "additionalProperties": false, + "required": [ + "categories", + "delivered", + "inbox", + "missing", + "pending", + "provider", + "spam", + "total" + ] + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "SeedQuality": { + "type": "integer" + }, + "is_auto_generated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "CreatedTS", + "ID", + "Id", + "SeedQuality", + "Seeds", + "created_at", + "delivery_stats", + "has_results", + "is_auto_generated", + "kid", + "last_result_at", + "mailing_list", + "name", + "seed_filter", + "sending_domains", + "tags", + "target_email", + "updated_at" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SeedListGetAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "seedlist": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "AccountID": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "last_result_at": { + "type": "string" + }, + "Seeds": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "AccountID": { + "type": "string" + }, + "id": { + "type": "string" + }, + "token": { + "type": "string" + }, + "email": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "sync_state": { + "type": "string" + }, + "local_state": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "message_count": { + "type": "integer" + }, + "max_email_count_hit_at": { + "type": "string" + }, + "total_msgs": { + "type": "integer" + }, + "matched_msgs": { + "type": "integer" + }, + "spam_message": { + "type": "integer" + }, + "expected_msgs": { + "type": "integer" + }, + "last_sent_to_at": { + "type": "string" + }, + "last_delivered_at": { + "type": "string" + }, + "account_quality": { + "type": "integer" + }, + "quality_label": { + "type": "string" + }, + "password": { + "type": "string" + }, + "phone_number": { + "type": "string" + }, + "attributes": { + "type": "object", + "additionalProperties": {} + }, + "totp": { + "type": "object", + "properties": { + "secret": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "secret" + ] + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "account_quality", + "attributes", + "created_at", + "email", + "expected_msgs", + "id", + "last_delivered_at", + "last_sent_to_at", + "local_state", + "matched_msgs", + "max_email_count_hit_at", + "message_count", + "password", + "phone_number", + "provider", + "quality_label", + "spam_message", + "sync_state", + "token", + "total_msgs", + "totp", + "updated_at" + ] + } + }, + { + "type": "null" + } + ] + }, + "target_email": { + "type": "string" + }, + "sending_domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "has_results": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "seed_filter": { + "type": "string" + }, + "mailing_list": { + "type": "string" + }, + "CreatedTS": { + "type": "integer" + }, + "tags": { + "type": "object", + "additionalProperties": {}, + "properties": { + "sfmc_remote_id": { + "type": "string" + } + } + }, + "delivery_stats": { + "type": "object", + "properties": { + "all": { + "type": "object", + "properties": { + "delivered": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "spam": { + "type": "integer" + }, + "inbox": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "provider": { + "type": "string" + }, + "categories": { + "type": "object", + "properties": { + "primary": { + "type": "integer" + }, + "promotions": { + "type": "integer" + }, + "updates": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "primary", + "promotions", + "updates" + ] + } + }, + "additionalProperties": false, + "required": [ + "categories", + "delivered", + "inbox", + "missing", + "pending", + "provider", + "spam", + "total" + ] + } + }, + "additionalProperties": false, + "required": [ + "all" + ] + }, + "SeedQuality": { + "type": "integer" + }, + "is_auto_generated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "CreatedTS", + "ID", + "Id", + "SeedQuality", + "Seeds", + "created_at", + "delivery_stats", + "has_results", + "is_auto_generated", + "kid", + "last_result_at", + "mailing_list", + "name", + "seed_filter", + "sending_domains", + "tags", + "target_email", + "updated_at" + ] + } + }, + "additionalProperties": false, + "required": [ + "seedlist" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SeedsListsDestroyApiResponse": { + "type": "object", + "properties": { + "body": { + "type": "null" + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsResultAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "rid": { + "type": "string" + }, + "result_id": { + "type": "string" + }, + "AccountID": { + "type": "string" + }, + "KeyBoxID": { + "type": "string" + }, + "keybox_email": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "sender": { + "type": "string" + }, + "seedlist_name": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "status": { + "type": "string" + }, + "CreatedTS": { + "type": "integer" + }, + "attributes": { + "type": "object", + "additionalProperties": {} + }, + "campaign_id": { + "type": "string" + }, + "sharing_enabled": { + "type": "boolean" + }, + "sharing_id": { + "type": "string" + }, + "sharing_expires_at": { + "type": "string" + }, + "Box": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "AccountID": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "last_result_at": { + "type": "string" + }, + "Seeds": { + "type": "null" + }, + "target_email": { + "type": "string" + }, + "sending_domains": { + "type": "null" + }, + "has_results": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "seed_filter": { + "type": "string" + }, + "mailing_list": { + "type": "string" + }, + "CreatedTS": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "SeedQuality": { + "type": "integer" + }, + "is_auto_generated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "CreatedTS", + "ID", + "Id", + "SeedQuality", + "Seeds", + "created_at", + "has_results", + "is_auto_generated", + "kid", + "last_result_at", + "mailing_list", + "name", + "seed_filter", + "sending_domains", + "tags", + "target_email", + "updated_at" + ] + }, + "seed_results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "destination": { + "type": "string" + }, + "state": { + "type": "string" + }, + "originating_ip": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "dkim": { + "type": "string" + }, + "spf": { + "type": "string" + }, + "dmarc": { + "type": "string" + }, + "headers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "key", + "value" + ] + } + }, + "extensions": { + "type": "object", + "properties": { + "category": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "category" + ] + } + }, + "additionalProperties": false, + "required": [ + "destination", + "dkim", + "dmarc", + "email", + "extensions", + "headers", + "originating_ip", + "provider", + "spf", + "state", + "tags" + ] + } + }, + "spamassassin": { + "type": "object", + "properties": { + "is_spam": { + "type": "boolean" + }, + "score": { + "type": "integer" + }, + "required": { + "type": "integer" + }, + "rules": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "points": { + "type": "integer" + }, + "short_description": { + "type": "string" + }, + "long_description": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "long_description", + "name", + "points", + "short_description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "is_spam", + "required", + "rules", + "score" + ] + }, + "delivery_stats": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "delivered": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "spam": { + "type": "integer" + }, + "inbox": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "provider": { + "type": "string" + }, + "categories": { + "anyOf": [ + { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + { + "type": "object", + "properties": { + "primary": { + "type": "integer" + }, + "updates": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "primary", + "updates" + ] + } + ] + } + }, + "additionalProperties": false, + "required": [ + "categories", + "delivered", + "inbox", + "missing", + "pending", + "provider", + "spam", + "total" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "Box", + "CreatedTS", + "Id", + "KeyBoxID", + "attributes", + "campaign_id", + "created_at", + "delivery_stats", + "keybox_email", + "result_id", + "rid", + "seed_results", + "seedlist_name", + "sender", + "sharing_enabled", + "sharing_expires_at", + "sharing_id", + "spamassassin", + "status", + "subject", + "updated_at" + ] + } + }, + "additionalProperties": false, + "required": [ + "result" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsResultsListAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "rid": { + "type": "string" + }, + "result_id": { + "type": "string" + }, + "AccountID": { + "type": "string" + }, + "KeyBoxID": { + "type": "string" + }, + "keybox_email": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "sender": { + "type": "string" + }, + "seedlist_name": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "status": { + "type": "string" + }, + "CreatedTS": { + "type": "integer" + }, + "attributes": { + "type": "object", + "additionalProperties": {} + }, + "campaign_id": { + "type": "string" + }, + "sharing_enabled": { + "type": "boolean" + }, + "sharing_id": { + "type": "string" + }, + "sharing_expires_at": { + "type": "string" + }, + "Box": { + "type": "object", + "properties": { + "Id": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "AccountID": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "last_result_at": { + "type": "string" + }, + "Seeds": { + "type": "null" + }, + "target_email": { + "type": "string" + }, + "sending_domains": { + "type": "null" + }, + "has_results": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "seed_filter": { + "type": "string" + }, + "mailing_list": { + "type": "string" + }, + "CreatedTS": { + "type": "integer" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "SeedQuality": { + "type": "integer" + }, + "is_auto_generated": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "CreatedTS", + "ID", + "Id", + "SeedQuality", + "Seeds", + "created_at", + "has_results", + "is_auto_generated", + "kid", + "last_result_at", + "mailing_list", + "name", + "seed_filter", + "sending_domains", + "tags", + "target_email", + "updated_at" + ] + }, + "seed_results": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "destination": { + "type": "string" + }, + "state": { + "type": "string" + }, + "originating_ip": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "dkim": { + "type": "string" + }, + "spf": { + "type": "string" + }, + "dmarc": { + "type": "string" + }, + "headers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "key", + "value" + ] + } + }, + "extensions": { + "type": "object", + "properties": { + "category": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "category" + ] + } + }, + "additionalProperties": false, + "required": [ + "destination", + "dkim", + "dmarc", + "email", + "extensions", + "headers", + "originating_ip", + "provider", + "spf", + "state", + "tags" + ] + } + }, + "spamassassin": { + "type": "object", + "properties": { + "is_spam": { + "type": "boolean" + }, + "score": { + "type": "integer" + }, + "required": { + "type": "integer" + }, + "rules": { + "type": "array", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "points": { + "type": "integer" + }, + "short_description": { + "type": "string" + }, + "long_description": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "long_description", + "name", + "points", + "short_description" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "is_spam", + "required", + "rules", + "score" + ] + }, + "delivery_stats": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "delivered": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "spam": { + "type": "integer" + }, + "inbox": { + "type": "integer" + }, + "total": { + "type": "integer" + }, + "provider": { + "type": "string" + }, + "categories": { + "anyOf": [ + { + "type": "object", + "properties": {}, + "additionalProperties": true + }, + { + "type": "object", + "properties": { + "primary": { + "type": "integer" + }, + "updates": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "primary", + "updates" + ] + } + ] + } + }, + "additionalProperties": false, + "required": [ + "categories", + "delivered", + "inbox", + "missing", + "pending", + "provider", + "spam", + "total" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "AccountID", + "Box", + "CreatedTS", + "Id", + "KeyBoxID", + "attributes", + "campaign_id", + "created_at", + "delivery_stats", + "keybox_email", + "result_id", + "rid", + "seed_results", + "seedlist_name", + "sender", + "sharing_enabled", + "sharing_expires_at", + "sharing_id", + "spamassassin", + "status", + "subject", + "updated_at" + ] + } + }, + "paging": { + "type": "object", + "properties": { + "previous": { + "type": "string" + }, + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "first", + "last", + "next", + "previous" + ] + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "items", + "paging", + "total" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsDestroyAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "Message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Message" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "IPRSharingAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "sharing": { + "type": "object", + "properties": { + "result_id": { + "type": "string" + }, + "expires_at": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "url_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "api_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "api_url", + "enabled", + "expires_at", + "result_id", + "url", + "url_id" + ] + } + }, + "additionalProperties": false, + "required": [ + "sharing" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "IPRSharingUpdateAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "sharing": { + "type": "object", + "properties": { + "result_id": { + "type": "string" + }, + "expires_at": { + "type": "string" + }, + "enabled": { + "type": "boolean" + }, + "url_id": { + "type": "string" + }, + "url": { + "type": "string" + }, + "api_url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "api_url", + "enabled", + "expires_at", + "result_id", + "url", + "url_id" + ] + } + }, + "additionalProperties": false, + "required": [ + "sharing" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "InboxPlacementsProvidersListAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "domain": { + "type": "string" + }, + "display_name": { + "type": "string" + }, + "region": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "max_email_count": { + "type": "integer" + }, + "unsupported_authentications": { + "type": "object", + "properties": {}, + "additionalProperties": true + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "display_name", + "domain", + "region", + "updated_at" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "items" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MultipleValidationJobsListResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "paging": { + "type": "object", + "properties": { + "previous": { + "type": "string" + }, + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "first", + "last", + "next", + "previous" + ] + }, + "jobs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "created_at": { + "type": "integer" + }, + "id": { + "type": "string" + }, + "quantity": { + "type": "integer" + }, + "records_processed": { + "type": [ + "null", + "integer" + ] + }, + "status": { + "type": "string" + }, + "download_url": { + "type": "object", + "properties": { + "csv": { + "type": "string" + }, + "json": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "csv", + "json" + ] + }, + "summary": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "catch_all": { + "type": "integer" + }, + "deliverable": { + "type": "integer" + }, + "do_not_send": { + "type": "integer" + }, + "undeliverable": { + "type": "integer" + }, + "unknown": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "catch_all", + "deliverable", + "do_not_send", + "undeliverable", + "unknown" + ] + }, + "risk": { + "type": "object", + "properties": { + "high": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + }, + "unknown": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "high", + "low", + "medium", + "unknown" + ] + } + }, + "additionalProperties": false, + "required": [ + "result", + "risk" + ] + } + }, + "additionalProperties": false, + "required": [ + "created_at", + "id", + "quantity", + "records_processed", + "status" + ] + } + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "jobs", + "paging", + "total" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ValidationResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "is_disposable_address": { + "type": "boolean" + }, + "is_role_address": { + "type": "boolean" + }, + "reason": { + "type": "array", + "items": { + "type": "string" + } + }, + "result": { + "type": "string" + }, + "risk": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "address", + "is_disposable_address", + "is_role_address", + "reason", + "result", + "risk" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "IpPoolListResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "ip_pools": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "ips": { + "type": "array", + "items": { + "type": "string" + } + }, + "is_linked": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "pool_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "description", + "ips", + "is_linked", + "name", + "pool_id" + ] + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ip_pools", + "message" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "IpPoolMessageResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "IpPoolCreateResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "pool_id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message", + "pool_id" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MetricsAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dimensions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "dimension": { + "type": "string" + }, + "value": { + "type": "string" + }, + "display_value": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "dimension", + "display_value", + "value" + ] + } + }, + "metrics": { + "type": "object", + "properties": { + "accepted_outgoing_count": { + "type": "integer" + }, + "delivered_smtp_count": { + "type": "integer" + }, + "accepted_count": { + "type": "integer" + }, + "delivered_http_count": { + "type": "integer" + }, + "accepted_incoming_count": { + "type": "integer" + }, + "delivered_optimized_count": { + "type": "integer" + }, + "stored_count": { + "type": "integer" + }, + "delivered_count": { + "type": "integer" + }, + "processed_count": { + "type": "integer" + }, + "sent_count": { + "type": "integer" + }, + "opened_count": { + "type": "integer" + }, + "unique_opened_count": { + "type": "integer" + }, + "clicked_count": { + "type": "integer" + }, + "unique_clicked_count": { + "type": "integer" + }, + "complained_count": { + "type": "integer" + }, + "permanent_failed_count": { + "type": "integer" + }, + "failed_count": { + "type": "integer" + }, + "rate_limit_count": { + "type": "integer" + }, + "unsubscribed_count": { + "type": "integer" + }, + "temporary_failed_count": { + "type": "integer" + }, + "permanent_failed_optimized_count": { + "type": "integer" + }, + "bounced_count": { + "type": "integer" + }, + "esp_block_count": { + "type": "integer" + }, + "webhook_count": { + "type": "integer" + }, + "delayed_bounce_count": { + "type": "integer" + }, + "soft_bounces_count": { + "type": "integer" + }, + "permanent_failed_old_count": { + "type": "integer" + }, + "suppressed_bounces_count": { + "type": "integer" + }, + "delivered_subsequent_count": { + "type": "integer" + }, + "delivered_rate": { + "type": "string" + }, + "delayed_first_attempt_count": { + "type": "integer" + }, + "unsubscribed_rate": { + "type": "string" + }, + "delivered_first_attempt_count": { + "type": "integer" + }, + "opened_rate": { + "type": "string" + }, + "suppressed_complaints_count": { + "type": "integer" + }, + "delivered_two_plus_attempts_count": { + "type": "integer" + }, + "hard_bounces_count": { + "type": "integer" + }, + "suppressed_unsubscribed_count": { + "type": "integer" + }, + "unique_opened_rate": { + "type": "string" + }, + "fail_rate": { + "type": "string" + }, + "complained_rate": { + "type": "string" + }, + "clicked_rate": { + "type": "string" + }, + "unique_clicked_rate": { + "type": "string" + }, + "bounce_rate": { + "type": "string" + }, + "delayed_rate": { + "type": "string" + }, + "permanent_fail_rate": { + "type": "string" + }, + "temporary_fail_rate": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "dimensions", + "metrics" + ] + } + }, + "resolution": { + "type": "string" + }, + "start": { + "type": "string" + }, + "aggregates": { + "type": "object", + "properties": { + "metrics": { + "type": "object", + "properties": { + "accepted_outgoing_count": { + "type": "integer" + }, + "delivered_smtp_count": { + "type": "integer" + }, + "accepted_count": { + "type": "integer" + }, + "delivered_http_count": { + "type": "integer" + }, + "accepted_incoming_count": { + "type": "integer" + }, + "delivered_optimized_count": { + "type": "integer" + }, + "stored_count": { + "type": "integer" + }, + "delivered_count": { + "type": "integer" + }, + "processed_count": { + "type": "integer" + }, + "sent_count": { + "type": "integer" + }, + "opened_count": { + "type": "integer" + }, + "unique_opened_count": { + "type": "integer" + }, + "clicked_count": { + "type": "integer" + }, + "unique_clicked_count": { + "type": "integer" + }, + "complained_count": { + "type": "integer" + }, + "permanent_failed_count": { + "type": "integer" + }, + "failed_count": { + "type": "integer" + }, + "rate_limit_count": { + "type": "integer" + }, + "unsubscribed_count": { + "type": "integer" + }, + "temporary_failed_count": { + "type": "integer" + }, + "permanent_failed_optimized_count": { + "type": "integer" + }, + "bounced_count": { + "type": "integer" + }, + "esp_block_count": { + "type": "integer" + }, + "webhook_count": { + "type": "integer" + }, + "delayed_bounce_count": { + "type": "integer" + }, + "soft_bounces_count": { + "type": "integer" + }, + "permanent_failed_old_count": { + "type": "integer" + }, + "suppressed_bounces_count": { + "type": "integer" + }, + "delivered_subsequent_count": { + "type": "integer" + }, + "delivered_rate": { + "type": "string" + }, + "delayed_first_attempt_count": { + "type": "integer" + }, + "unsubscribed_rate": { + "type": "string" + }, + "delivered_first_attempt_count": { + "type": "integer" + }, + "opened_rate": { + "type": "string" + }, + "suppressed_complaints_count": { + "type": "integer" + }, + "delivered_two_plus_attempts_count": { + "type": "integer" + }, + "hard_bounces_count": { + "type": "integer" + }, + "suppressed_unsubscribed_count": { + "type": "integer" + }, + "unique_opened_rate": { + "type": "string" + }, + "fail_rate": { + "type": "string" + }, + "complained_rate": { + "type": "string" + }, + "clicked_rate": { + "type": "string" + }, + "unique_clicked_rate": { + "type": "string" + }, + "bounce_rate": { + "type": "string" + }, + "delayed_rate": { + "type": "string" + }, + "permanent_fail_rate": { + "type": "string" + }, + "temporary_fail_rate": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "metrics" + ] + }, + "dimensions": { + "type": "array", + "items": { + "type": "string" + } + }, + "pagination": { + "type": "object", + "properties": { + "sort": { + "type": "string" + }, + "skip": { + "type": "integer" + }, + "limit": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "limit", + "skip", + "sort", + "total" + ] + }, + "end": { + "type": "string" + }, + "duration": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "aggregates", + "dimensions", + "end", + "items", + "pagination", + "resolution", + "start" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DomainTagStatAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "description": { + "type": "string" + }, + "start": { + "type": "string" + }, + "end": { + "type": "string" + }, + "resolution": { + "$ref": "#/definitions/Resolution" + }, + "stats": { + "type": "array", + "items": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "accepted": { + "type": "object", + "properties": { + "incoming": { + "type": "integer" + }, + "outgoing": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "incoming", + "outgoing", + "total" + ] + }, + "delivered": { + "type": "object", + "properties": { + "smtp": { + "type": "integer" + }, + "http": { + "type": "integer" + }, + "optimized": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "http", + "optimized", + "smtp", + "total" + ] + }, + "opened": { + "type": "object", + "properties": { + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "total" + ] + }, + "failed": { + "type": "object", + "properties": { + "temporary": { + "type": "object", + "properties": { + "espblock": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "espblock", + "total" + ] + }, + "permanent": { + "type": "object", + "properties": { + "suppress-bounce": { + "type": "integer" + }, + "suppress-unsubscribe": { + "type": "integer" + }, + "suppress-complaint": { + "type": "integer" + }, + "bounce": { + "type": "integer" + }, + "delayed-bounce": { + "type": "integer" + }, + "webhook": { + "type": "integer" + }, + "optimized": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "bounce", + "delayed-bounce", + "optimized", + "suppress-bounce", + "suppress-complaint", + "suppress-unsubscribe", + "total", + "webhook" + ] + } + }, + "additionalProperties": false, + "required": [ + "permanent", + "temporary" + ] + }, + "clicked": { + "type": "object", + "properties": { + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "total" + ] + }, + "unsubscribed": { + "type": "object", + "properties": { + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "total" + ] + }, + "complained": { + "type": "object", + "properties": { + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "total" + ] + }, + "stored": { + "type": "object", + "properties": { + "total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "total" + ] + } + }, + "additionalProperties": false, + "required": [ + "time" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "description", + "end", + "resolution", + "start", + "stats", + "tag" + ] + } + }, + "additionalProperties": false, + "required": [ + "body" + ], + "definitions": { + "Resolution": { + "type": "string", + "enum": [ + "hour", + "day", + "month" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DomainTagCountriesAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "country": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "clicked": { + "type": "integer" + }, + "complained": { + "type": "integer" + }, + "opened": { + "type": "integer" + }, + "unique_clicked": { + "type": "integer" + }, + "unique_opened": { + "type": "integer" + }, + "unsubscribed": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "clicked", + "complained", + "opened", + "unique_clicked", + "unique_opened", + "unsubscribed" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "country", + "tag" + ] + } + }, + "additionalProperties": false, + "required": [ + "body" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DomainTagProvidersAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "provider": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "accepted": { + "type": "integer" + }, + "clicked": { + "type": "integer" + }, + "complained": { + "type": "integer" + }, + "delivered": { + "type": "integer" + }, + "opened": { + "type": "integer" + }, + "unique_clicked": { + "type": "integer" + }, + "unique_opened": { + "type": "integer" + }, + "unsubscribed": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "accepted", + "clicked", + "complained", + "delivered", + "opened", + "unique_clicked", + "unique_opened", + "unsubscribed" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "provider", + "tag" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DomainTagDevicesAPIResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "device": { + "type": "object", + "properties": { + "desktop": { + "type": "object", + "properties": { + "clicked": { + "type": "integer" + }, + "complained": { + "type": "integer" + }, + "opened": { + "type": "integer" + }, + "unique_clicked": { + "type": "integer" + }, + "unique_opened": { + "type": "integer" + }, + "unsubscribed": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "clicked", + "complained", + "opened", + "unique_clicked", + "unique_opened", + "unsubscribed" + ] + }, + "mobile": { + "type": "object", + "properties": { + "clicked": { + "type": "integer" + }, + "complained": { + "type": "integer" + }, + "opened": { + "type": "integer" + }, + "unique_clicked": { + "type": "integer" + }, + "unique_opened": { + "type": "integer" + }, + "unsubscribed": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "clicked", + "complained", + "opened", + "unique_clicked", + "unique_opened", + "unsubscribed" + ] + }, + "tablet": { + "type": "object", + "properties": { + "clicked": { + "type": "integer" + }, + "complained": { + "type": "integer" + }, + "opened": { + "type": "integer" + }, + "unique_clicked": { + "type": "integer" + }, + "unique_opened": { + "type": "integer" + }, + "unsubscribed": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "clicked", + "complained", + "opened", + "unique_clicked", + "unique_opened", + "unsubscribed" + ] + }, + "unknown": { + "type": "object", + "properties": { + "clicked": { + "type": "integer" + }, + "complained": { + "type": "integer" + }, + "opened": { + "type": "integer" + }, + "unique_clicked": { + "type": "integer" + }, + "unique_opened": { + "type": "integer" + }, + "unsubscribed": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "clicked", + "complained", + "opened", + "unique_clicked", + "unique_opened", + "unsubscribed" + ] + } + }, + "additionalProperties": false, + "required": [ + "desktop", + "mobile", + "tablet", + "unknown" + ] + } + }, + "additionalProperties": false, + "required": [ + "device", + "tag" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CreateDomainTemplateAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/IDomainTemplate" + } + }, + "additionalProperties": false, + "required": [ + "message", + "template" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "definitions": { + "IDomainTemplate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "$ref": "#/definitions/TemplateVersion" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "createdAt", + "createdBy", + "description", + "id", + "name" + ] + }, + "TemplateVersion": { + "additionalProperties": false, + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "template": { + "type": "string" + } + }, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag", + "template" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ListDomainTemplatesAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/IDomainTemplate" + } + }, + "paging": { + "type": "object", + "properties": { + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" + }, + "previous": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "first", + "last", + "next", + "previous" + ] + } + }, + "additionalProperties": false, + "required": [ + "items", + "paging" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "definitions": { + "IDomainTemplate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "$ref": "#/definitions/TemplateVersion" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "createdAt", + "createdBy", + "description", + "id", + "name" + ] + }, + "TemplateVersion": { + "additionalProperties": false, + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "template": { + "type": "string" + } + }, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag", + "template" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GetDomainTemplateAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "template": { + "$ref": "#/definitions/IDomainTemplate" + } + }, + "additionalProperties": false, + "required": [ + "template" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "definitions": { + "IDomainTemplate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "$ref": "#/definitions/TemplateVersion" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "createdAt", + "createdBy", + "description", + "id", + "name" + ] + }, + "TemplateVersion": { + "additionalProperties": false, + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "template": { + "type": "string" + } + }, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag", + "template" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "UpdateOrDeleteDomainTemplateAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "template": { + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + } + }, + "additionalProperties": false, + "required": [ + "message", + "template" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "NotificationAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CreateDomainTemplateVersionAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "template": { + "$ref": "#/definitions/IDomainTemplate" + } + }, + "additionalProperties": false, + "required": [ + "message", + "template" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "definitions": { + "IDomainTemplate": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version": { + "$ref": "#/definitions/TemplateVersion" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "createdAt", + "createdBy", + "description", + "id", + "name" + ] + }, + "TemplateVersion": { + "additionalProperties": false, + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "template": { + "type": "string" + } + }, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag", + "template" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MutateDomainTemplateVersionAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "template": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "object", + "properties": { + "tag": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "tag" + ] + } + }, + "additionalProperties": false, + "required": [ + "name", + "version" + ] + } + }, + "additionalProperties": false, + "required": [ + "message", + "template" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ListDomainTemplateVersionsAPIResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "template": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "id": { + "type": "string" + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "properties": { + "tag": { + "type": "string" + }, + "engine": { + "type": "string" + }, + "mjml": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + }, + "comment": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "active", + "comment", + "createdAt", + "engine", + "id", + "mjml", + "tag" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "createdAt", + "createdBy", + "description", + "id", + "name", + "versions" + ] + }, + "paging": { + "type": "object", + "properties": { + "previous": { + "type": "string" + }, + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "first", + "last", + "next", + "previous" + ] + } + }, + "additionalProperties": false, + "required": [ + "paging", + "template" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DomainTrackingResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "tracking": { + "type": "object", + "properties": { + "click": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "active" + ] + }, + "open": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "active" + ] + }, + "unsubscribe": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + }, + "html_footer": { + "type": "string" + }, + "text_footer": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "active", + "html_footer", + "text_footer" + ] + } + }, + "additionalProperties": false, + "required": [ + "click", + "open", + "unsubscribe" + ] + } + }, + "additionalProperties": false, + "required": [ + "tracking" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "UpdateDomainTrackingResponse": { + "type": "object", + "properties": { + "status": { + "type": "integer" + }, + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "open": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "active" + ] + }, + "click": { + "type": "object", + "properties": { + "active": { + "enum": [ + false, + "htmlonly", + true + ] + } + }, + "additionalProperties": false, + "required": [ + "active" + ] + }, + "unsubscribe": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + }, + "html_footer": { + "type": "string" + }, + "text_footer": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "active", + "html_footer", + "text_footer" + ] + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GetDomainTrackingCertificateResponse": { + "type": "object", + "properties": { + "responseStatusCode": { + "type": "integer" + }, + "status": { + "type": "string" + }, + "error": { + "type": "string" + }, + "certificate": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "certificate", + "error", + "responseStatusCode", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "GenerateDomainTrackingCertificateResponse": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "location": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "location", + "message", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "RegenerateDomainTrackingCertificateResponse": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "location": { + "type": "string" + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "location", + "message", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "EventsResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { + "type": "array", + "minItems": 0, + "maxItems": 0 + }, + "paging": { + "type": "object", + "properties": { + "previous": { + "type": "string" + }, + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "first", + "last", + "next", + "previous" + ] + } + }, + "additionalProperties": false, + "required": [ + "items", + "paging" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MailingListValidationResponse": { + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "download_url": { + "type": "object", + "properties": { + "csv": { + "type": "string" + }, + "json": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "csv", + "json" + ] + }, + "id": { + "type": "string" + }, + "quantity": { + "type": "integer" + }, + "records_processed": { + "type": "integer" + }, + "summary": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "catch_all": { + "type": "integer" + }, + "deliverable": { + "type": "integer" + }, + "do_not_send": { + "type": "integer" + }, + "undeliverable": { + "type": "integer" + }, + "unknown": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "catch_all", + "deliverable", + "do_not_send", + "undeliverable", + "unknown" + ] + }, + "risk": { + "type": "object", + "properties": { + "high": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + }, + "unknown": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "high", + "low", + "medium", + "unknown" + ] + } + }, + "additionalProperties": false, + "required": [ + "result", + "risk" + ] + } + }, + "additionalProperties": false, + "required": [ + "download_url", + "id", + "quantity", + "records_processed", + "status", + "summary" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MailingListValidationApiResponse": { + "additionalProperties": false, + "type": "object", + "properties": { + "status": { + "type": "string" + }, + "download_url": { + "type": "object", + "properties": { + "csv": { + "type": "string" + }, + "json": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "csv", + "json" + ] + }, + "id": { + "type": "string" + }, + "quantity": { + "type": "integer" + }, + "records_processed": { + "type": "integer" + }, + "summary": { + "type": "object", + "properties": { + "result": { + "type": "object", + "properties": { + "catch_all": { + "type": "integer" + }, + "deliverable": { + "type": "integer" + }, + "do_not_send": { + "type": "integer" + }, + "undeliverable": { + "type": "integer" + }, + "unknown": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "catch_all", + "deliverable", + "do_not_send", + "undeliverable", + "unknown" + ] + }, + "risk": { + "type": "object", + "properties": { + "high": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + }, + "unknown": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "high", + "low", + "medium", + "unknown" + ] + } + }, + "additionalProperties": false, + "required": [ + "result", + "risk" + ] + }, + "created_at": { + "type": "integer" + } + }, + "required": [ + "created_at", + "download_url", + "id", + "quantity", + "records_processed", + "status", + "summary" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MailingListApiResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "type": "object", + "properties": { + "access_level": { + "type": "string" + }, + "address": { + "type": "string" + }, + "created_at": { + "type": "string" + }, + "description": { + "type": "string" + }, + "members_count": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "reply_preference": { "type": [ "null", "string" @@ -7022,387 +12231,11846 @@ }, "additionalProperties": false, "required": [ - "finish_reason", - "index", - "message" + "access_level", + "address", + "created_at", + "description", + "members_count", + "name", + "reply_preference" ] } }, - "usage": { + "paging": { "type": "object", "properties": { - "prompt_tokens": { - "type": "integer" + "previous": { + "type": "string" }, - "completion_tokens": { - "type": "integer" + "first": { + "type": "string" }, - "total_tokens": { - "type": "integer" + "last": { + "type": "string" }, - "prompt_tokens_details": { - "type": "object", - "properties": { - "cached_tokens": { - "type": "integer" - }, - "audio_tokens": { - "type": "integer" - } - }, - "additionalProperties": false - }, - "completion_tokens_details": { - "type": "object", - "properties": { - "reasoning_tokens": { - "type": "integer" - }, - "audio_tokens": { - "type": "integer" - }, - "accepted_prediction_tokens": { - "type": "integer" - }, - "rejected_prediction_tokens": { - "type": "integer" - } - }, - "additionalProperties": false + "next": { + "type": "string" } }, "additionalProperties": false, "required": [ - "completion_tokens", - "prompt_tokens", - "total_tokens" + "first", + "last", + "next", + "previous" ] - }, - "service_tier": { - "type": "string" - }, - "system_fingerprint": { - "type": "string" } }, "additionalProperties": false, "required": [ - "choices", - "created", - "id", - "model", - "object", - "usage" + "items", + "paging" ] }, - "OpenAIResponseObject": { + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "NewMultipleMembersResponse": { + "type": "object", + "properties": { + "list": { "type": "object", "properties": { - "id": { + "access_level": { "type": "string" }, - "object": { - "type": "string", - "const": "response" + "address": { + "type": "string" }, "created_at": { - "type": "integer" - }, - "status": { - "enum": [ - "cancelled", - "completed", - "failed", - "in_progress" - ], "type": "string" }, - "error": { + "description": { + "type": "string" + }, + "members_count": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "reply_preference": { "type": [ "null", "string" ] - }, - "incomplete_details": {}, - "instructions": {}, - "max_output_tokens": { - "type": [ - "null", - "integer" - ] - }, - "model": { - "type": "string" - }, - "output": { + } + }, + "additionalProperties": false, + "required": [ + "access_level", + "address", + "created_at", + "description", + "members_count", + "name", + "reply_preference" + ] + }, + "message": { + "type": "string" + }, + "task-id": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "list", + "message", + "task-id" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MailListMembersResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { "type": "array", "items": { "type": "object", "properties": { - "type": { - "type": "string", - "const": "message" - }, - "id": { + "address": { "type": "string" }, - "status": { + "name": { "type": "string" }, - "role": { - "type": "string" + "subscribed": { + "type": "boolean" }, - "content": { - "type": "array", - "items": { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "output_text" - }, - "text": { - "type": "string" - }, - "annotations": { - "type": "array", - "items": {} - } - }, - "additionalProperties": false, - "required": [ - "annotations", - "text", - "type" - ] - } + "vars": { + "type": "object", + "additionalProperties": {} } }, "additionalProperties": false, "required": [ - "content", - "id", - "role", - "status", - "type" + "address", + "name", + "subscribed", + "vars" ] } }, - "output_text": { - "type": "string" - }, - "parallel_tool_calls": { - "type": "boolean" - }, - "previous_response_id": { - "type": [ - "null", - "string" - ] - }, - "reasoning": { + "paging": { "type": "object", "properties": { - "effort": { - "type": [ - "null", - "string" - ] + "previous": { + "type": "string" }, - "summary": { - "type": [ - "null", - "string" - ] + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" } }, "additionalProperties": false, "required": [ - "effort", - "summary" + "first", + "last", + "next", + "previous" ] - }, - "store": { - "type": "boolean" - }, - "temperature": { - "type": "integer" - }, - "text": { - "type": "object", - "properties": { - "format": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - } - }, - "additionalProperties": false, - "required": [ - "format" - ] - }, - "tool_choice": { - "type": "string" - }, - "tools": { - "type": "array", - "items": {} - }, - "top_p": { - "type": "integer" - }, - "truncation": { - "type": "string" - }, - "usage": { - "type": "object", - "properties": { - "input_tokens": { - "type": "integer" - }, - "input_tokens_details": { - "type": "object", - "properties": { - "cached_tokens": { - "type": "integer" - } - }, - "additionalProperties": false - }, - "output_tokens": { - "type": "integer" - }, - "output_tokens_details": { - "type": "object", - "properties": { - "reasoning_tokens": { - "type": "integer" - } - }, - "additionalProperties": false - }, - "total_tokens": { - "type": "integer" - } - }, - "additionalProperties": false, - "required": [ - "input_tokens", - "output_tokens", - "total_tokens" - ] - }, - "user": { - "type": [ - "null", - "string" - ] - }, - "metadata": { - "$ref": "#/definitions/Record" } }, "additionalProperties": false, "required": [ - "created_at", - "error", - "id", - "incomplete_details", - "instructions", - "max_output_tokens", - "metadata", - "model", - "object", - "output", - "output_text", - "parallel_tool_calls", - "previous_response_id", - "reasoning", - "status", - "store", - "temperature", - "text", - "tool_choice", - "tools", - "top_p", - "truncation", - "usage", - "user" + "items", + "paging" ] }, - "Record": { + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SuppressionListResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "items": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "code": { + "type": "integer" + }, + "error": { + "type": "string" + }, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "address", + "code", + "created_at", + "error" + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "address", + "created_at" + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "tags": {}, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "address", + "created_at", + "tags" + ] + } + }, + { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "value": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "createdAt", + "reason", + "type", + "value" + ] + } + } + ] + }, + "paging": { + "type": "object", + "properties": { + "previous": { + "type": "string" + }, + "first": { + "type": "string" + }, + "last": { + "type": "string" + }, + "next": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "first", + "last", + "next", + "previous" + ] + } + }, + "additionalProperties": false, + "required": [ + "items", + "paging" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SuppressionResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/SuppressionDataType" + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "definitions": { + "SuppressionDataType": { + "anyOf": [ + { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "code": { + "type": "integer" + }, + "error": { + "type": "string" + }, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "address", + "code", + "created_at", + "error" + ] + }, + { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "address", + "created_at" + ] + }, + { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "tags": {}, + "created_at": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "address", + "created_at", + "tags" + ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string" + }, + "value": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "createdAt": { + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "createdAt", + "reason", + "type", + "value" + ] + } + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SuppressionDestroyResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "value": { + "type": "string" + }, + "address": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SuppressionCreationResponse": { + "type": "object", + "properties": { + "body": { + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + }, + "status": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "status" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AxiosResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/T" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + }, + "headers": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosResponseHeaders" + }, + { + "additionalProperties": false, + "type": "object", + "properties": { + "Cache-Control": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Encoding": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Length": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Type": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Server": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "set-cookie": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + ] + }, + "config": { + "$ref": "#/definitions/InternalAxiosRequestConfig" + }, + "request": {} + }, + "additionalProperties": false, + "required": [ + "config", + "data", + "headers", + "status", + "statusText" + ], + "definitions": { + "T": { + "type": "object", + "additionalProperties": false + }, + "AxiosResponseHeaders": { + "additionalProperties": false, + "properties": { + "Cache-Control": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Encoding": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Length": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Type": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Server": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "set-cookie": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AxiosHeaders": { + "type": "object", + "additionalProperties": {} + }, + "InternalAxiosRequestConfig": { + "type": "object", + "properties": { + "headers": { + "$ref": "#/definitions/AxiosRequestHeaders" + }, + "url": { + "type": "string" + }, + "method": { + "type": "string" + }, + "baseURL": { + "type": "string" + }, + "allowAbsoluteUrls": { + "type": "boolean" + }, + "transformRequest": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosRequestTransformer" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/AxiosRequestTransformer" + } + } + ] + }, + "transformResponse": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosResponseTransformer" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/AxiosResponseTransformer" + } + } + ] + }, + "params": {}, + "paramsSerializer": { + "anyOf": [ + { + "$ref": "#/definitions/CustomParamsSerializer" + }, + { + "$ref": "#/definitions/ParamsSerializerOptions" + } + ] + }, + "data": { + "$ref": "#/definitions/D" + }, + "timeout": { + "type": "integer" + }, + "timeoutErrorMessage": { + "type": "string" + }, + "withCredentials": { + "type": "boolean" + }, + "adapter": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object", + "properties": {} + }, + { + "$ref": "#/definitions/AxiosAdapter" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/AxiosAdapterConfig" + } + }, + { + "enum": [ + "fetch", + "http", + "xhr" + ], + "type": "string" + } + ] + }, + "auth": { + "$ref": "#/definitions/AxiosBasicCredentials" + }, + "responseType": { + "enum": [ + "arraybuffer", + "blob", + "document", + "formdata", + "json", + "stream", + "text" + ], + "type": "string" + }, + "responseEncoding": { + "type": "string" + }, + "xsrfCookieName": { + "type": "string" + }, + "xsrfHeaderName": { + "type": "string" + }, + "onUploadProgress": { + "type": "object", + "additionalProperties": false + }, + "onDownloadProgress": { + "type": "object", + "additionalProperties": false + }, + "maxContentLength": { + "type": "integer" + }, + "validateStatus": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "maxBodyLength": { + "type": "integer" + }, + "maxRedirects": { + "type": "integer" + }, + "maxRate": { + "anyOf": [ + { + "type": "array", + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], + "minItems": 2, + "maxItems": 2 + }, + { + "type": "integer" + } + ] + }, + "beforeRedirect": { + "type": "object", + "additionalProperties": false + }, + "socketPath": { + "type": [ + "null", + "string" + ] + }, + "transport": {}, + "httpAgent": {}, + "httpsAgent": {}, + "proxy": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosProxyConfig" + }, + { + "const": false, + "type": "boolean" + } + ] + }, + "cancelToken": { + "$ref": "#/definitions/CancelToken" + }, + "decompress": { + "type": "boolean" + }, + "transitional": { + "$ref": "#/definitions/TransitionalOptions" + }, + "signal": { + "$ref": "#/definitions/GenericAbortSignal" + }, + "insecureHTTPParser": { + "type": "boolean" + }, + "env": { + "type": "object", + "properties": { + "FormData": { + "type": "object", + "additionalProperties": false + }, + "fetch": { + "type": "object", + "additionalProperties": false + }, + "Request": { + "type": "object", + "additionalProperties": false + }, + "Response": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + "formSerializer": { + "$ref": "#/definitions/FormSerializerOptions" + }, + "family": { + "$ref": "#/definitions/AddressFamily" + }, + "lookup": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "object", + "additionalProperties": false + } + ] + }, + "withXSRFToken": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "parseReviver": { + "type": "object", + "additionalProperties": false + }, + "fetchOptions": { + "anyOf": [ + { + "$ref": "#/definitions/Record" + }, + { + "$ref": "#/definitions/Omit" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "headers" + ] + }, + "AxiosRequestHeaders": { + "additionalProperties": false, + "properties": { + "Accept": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Authorization": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Encoding": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Length": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "User-Agent": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Type": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + } + } + }, + "AxiosRequestTransformer": { + "type": "object", + "additionalProperties": false + }, + "AxiosResponseTransformer": { + "type": "object", + "additionalProperties": false + }, + "CustomParamsSerializer": { + "type": "object", + "additionalProperties": false + }, + "ParamsSerializerOptions": { + "type": "object", + "properties": { + "encode": { + "$ref": "#/definitions/ParamEncoder" + }, + "serialize": { + "$ref": "#/definitions/CustomParamsSerializer" + }, + "visitor": { + "$ref": "#/definitions/SerializerVisitor" + }, + "dots": { + "type": "boolean" + }, + "metaTokens": { + "type": "boolean" + }, + "indexes": { + "type": [ + "null", + "boolean" + ] + } + }, + "additionalProperties": false + }, + "ParamEncoder": { + "type": "object", + "additionalProperties": false + }, + "SerializerVisitor": { + "type": "object", + "additionalProperties": false + }, + "D": { + "type": "object", + "additionalProperties": false + }, + "AxiosAdapter": { + "type": "object", + "additionalProperties": false + }, + "AxiosAdapterConfig": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object", + "properties": {} + }, + { + "$ref": "#/definitions/AxiosAdapter" + }, + { + "enum": [ + "fetch", + "http", + "xhr" + ], + "type": "string" + } + ] + }, + "AxiosBasicCredentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password", + "username" + ] + }, + "AxiosProxyConfig": { + "type": "object", + "properties": { + "host": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "auth": { + "$ref": "#/definitions/AxiosBasicCredentials" + }, + "protocol": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "host", + "port" + ] + }, + "CancelToken": { + "type": "object", + "properties": { + "promise": { + "$ref": "#/definitions/Promise" + }, + "reason": { + "$ref": "#/definitions/Cancel" + } + }, + "additionalProperties": false, + "required": [ + "promise" + ] + }, + "Promise": { + "type": "object", + "properties": { + "__@toStringTag@676": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "__@toStringTag@676" + ] + }, + "Cancel": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + }, + "TransitionalOptions": { + "type": "object", + "properties": { + "silentJSONParsing": { + "type": "boolean" + }, + "forcedJSONParsing": { + "type": "boolean" + }, + "clarifyTimeoutError": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "GenericAbortSignal": { + "type": "object", + "properties": { + "aborted": { + "type": "boolean" + }, + "onabort": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "addEventListener": { + "type": "object", + "additionalProperties": false + }, + "removeEventListener": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "aborted" + ] + }, + "FormSerializerOptions": { + "type": "object", + "properties": { + "visitor": { + "$ref": "#/definitions/SerializerVisitor" + }, + "dots": { + "type": "boolean" + }, + "metaTokens": { + "type": "boolean" + }, + "indexes": { + "type": [ + "null", + "boolean" + ] + } + }, + "additionalProperties": false + }, + "AddressFamily": { + "enum": [ + 4, + 6 + ], + "type": "number" + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "Omit": { + "type": "object", + "properties": { + "credentials": { + "enum": [ + "include", + "omit", + "same-origin" + ], + "type": "string" + }, + "cache": { + "enum": [ + "default", + "force-cache", + "no-cache", + "no-store", + "only-if-cached", + "reload" + ], + "type": "string" + }, + "dispatcher": { + "description": "Dispatcher is the core API used to dispatch requests.", + "$ref": "#/definitions/default" + }, + "duplex": { + "const": "half", + "type": "string" + }, + "integrity": { + "type": "string" + }, + "keepalive": { + "type": "boolean" + }, + "mode": { + "enum": [ + "cors", + "navigate", + "no-cors", + "same-origin" + ], + "type": "string" + }, + "redirect": { + "enum": [ + "error", + "follow", + "manual" + ], + "type": "string" + }, + "referrer": { + "type": "string" + }, + "referrerPolicy": { + "enum": [ + "", + "no-referrer", + "no-referrer-when-downgrade", + "origin", + "origin-when-cross-origin", + "same-origin", + "strict-origin", + "strict-origin-when-cross-origin", + "unsafe-url" + ], + "type": "string" + }, + "window": { + "type": "null" + } + }, + "additionalProperties": false + }, + "default": { + "description": "Dispatcher is the core API used to dispatch requests.", "type": "object", "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "CopyResponse": { + "LibraryResponse": { "type": "object", "properties": { - "length": { + "response": { + "$ref": "#/definitions/AxiosResponse" + }, + "body": { + "$ref": "#/definitions/Body" + } + }, + "additionalProperties": false, + "required": [ + "body", + "response" + ], + "definitions": { + "AxiosResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/Body" + }, + "status": { + "type": "integer" + }, + "statusText": { + "type": "string" + }, + "headers": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosResponseHeaders" + }, + { + "$ref": "#/definitions/Partial_1" + } + ] + }, + "config": { + "$ref": "#/definitions/InternalAxiosRequestConfig" + }, + "request": {} + }, + "additionalProperties": false, + "required": [ + "config", + "data", + "headers", + "status", + "statusText" + ] + }, + "Body": { + "type": "object", + "additionalProperties": false + }, + "AxiosResponseHeaders": { + "additionalProperties": false, + "properties": { + "Cache-Control": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Encoding": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Length": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Type": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Server": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "set-cookie": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "AxiosHeaders": { + "type": "object", + "additionalProperties": {} + }, + "Partial_1": { + "type": "object", + "properties": { + "Cache-Control": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Encoding": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Length": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Type": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Server": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "set-cookie": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "InternalAxiosRequestConfig": { + "type": "object", + "properties": { + "headers": { + "$ref": "#/definitions/AxiosRequestHeaders" + }, + "url": { + "type": "string" + }, + "method": { + "type": "string" + }, + "baseURL": { + "type": "string" + }, + "allowAbsoluteUrls": { + "type": "boolean" + }, + "transformRequest": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosRequestTransformer" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/AxiosRequestTransformer" + } + } + ] + }, + "transformResponse": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosResponseTransformer" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/AxiosResponseTransformer" + } + } + ] + }, + "params": {}, + "paramsSerializer": { + "anyOf": [ + { + "$ref": "#/definitions/CustomParamsSerializer" + }, + { + "$ref": "#/definitions/ParamsSerializerOptions" + } + ] + }, + "data": {}, + "timeout": { + "type": "integer" + }, + "timeoutErrorMessage": { + "type": "string" + }, + "withCredentials": { + "type": "boolean" + }, + "adapter": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object", + "properties": {} + }, + { + "$ref": "#/definitions/AxiosAdapter" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/AxiosAdapterConfig" + } + }, + { + "enum": [ + "fetch", + "http", + "xhr" + ], + "type": "string" + } + ] + }, + "auth": { + "$ref": "#/definitions/AxiosBasicCredentials" + }, + "responseType": { + "enum": [ + "arraybuffer", + "blob", + "document", + "formdata", + "json", + "stream", + "text" + ], + "type": "string" + }, + "responseEncoding": { + "type": "string" + }, + "xsrfCookieName": { + "type": "string" + }, + "xsrfHeaderName": { + "type": "string" + }, + "onUploadProgress": { + "type": "object", + "additionalProperties": false + }, + "onDownloadProgress": { + "type": "object", + "additionalProperties": false + }, + "maxContentLength": { + "type": "integer" + }, + "validateStatus": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "maxBodyLength": { + "type": "integer" + }, + "maxRedirects": { + "type": "integer" + }, + "maxRate": { + "anyOf": [ + { + "type": "array", + "items": [ + { + "type": "integer" + }, + { + "type": "integer" + } + ], + "minItems": 2, + "maxItems": 2 + }, + { + "type": "integer" + } + ] + }, + "beforeRedirect": { + "type": "object", + "additionalProperties": false + }, + "socketPath": { + "type": [ + "null", + "string" + ] + }, + "transport": {}, + "httpAgent": {}, + "httpsAgent": {}, + "proxy": { + "anyOf": [ + { + "$ref": "#/definitions/AxiosProxyConfig" + }, + { + "const": false, + "type": "boolean" + } + ] + }, + "cancelToken": { + "$ref": "#/definitions/CancelToken" + }, + "decompress": { + "type": "boolean" + }, + "transitional": { + "$ref": "#/definitions/TransitionalOptions" + }, + "signal": { + "$ref": "#/definitions/GenericAbortSignal" + }, + "insecureHTTPParser": { + "type": "boolean" + }, + "env": { + "type": "object", + "properties": { + "FormData": { + "type": "object", + "additionalProperties": false + }, + "fetch": { + "type": "object", + "additionalProperties": false + }, + "Request": { + "type": "object", + "additionalProperties": false + }, + "Response": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false + }, + "formSerializer": { + "$ref": "#/definitions/FormSerializerOptions" + }, + "family": { + "$ref": "#/definitions/AddressFamily" + }, + "lookup": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "object", + "additionalProperties": false + } + ] + }, + "withXSRFToken": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "boolean" + } + ] + }, + "parseReviver": { + "type": "object", + "additionalProperties": false + }, + "fetchOptions": { + "anyOf": [ + { + "$ref": "#/definitions/Record" + }, + { + "$ref": "#/definitions/Omit" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "headers" + ] + }, + "AxiosRequestHeaders": { + "additionalProperties": false, + "properties": { + "Accept": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Authorization": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Encoding": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Length": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "User-Agent": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "Content-Type": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "#/definitions/AxiosHeaders" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + } + } + }, + "AxiosRequestTransformer": { + "type": "object", + "additionalProperties": false + }, + "AxiosResponseTransformer": { + "type": "object", + "additionalProperties": false + }, + "CustomParamsSerializer": { + "type": "object", + "additionalProperties": false + }, + "ParamsSerializerOptions": { + "type": "object", + "properties": { + "encode": { + "$ref": "#/definitions/ParamEncoder" + }, + "serialize": { + "$ref": "#/definitions/CustomParamsSerializer" + }, + "visitor": { + "$ref": "#/definitions/SerializerVisitor" + }, + "dots": { + "type": "boolean" + }, + "metaTokens": { + "type": "boolean" + }, + "indexes": { + "type": [ + "null", + "boolean" + ] + } + }, + "additionalProperties": false + }, + "ParamEncoder": { + "type": "object", + "additionalProperties": false + }, + "SerializerVisitor": { + "type": "object", + "additionalProperties": false + }, + "AxiosAdapter": { + "type": "object", + "additionalProperties": false + }, + "AxiosAdapterConfig": { + "anyOf": [ + { + "additionalProperties": false, + "type": "object", + "properties": {} + }, + { + "$ref": "#/definitions/AxiosAdapter" + }, + { + "enum": [ + "fetch", + "http", + "xhr" + ], + "type": "string" + } + ] + }, + "AxiosBasicCredentials": { + "type": "object", + "properties": { + "username": { + "type": "string" + }, + "password": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "password", + "username" + ] + }, + "AxiosProxyConfig": { + "type": "object", + "properties": { + "host": { + "type": "string" + }, + "port": { + "type": "integer" + }, + "auth": { + "$ref": "#/definitions/AxiosBasicCredentials" + }, + "protocol": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "host", + "port" + ] + }, + "CancelToken": { + "type": "object", + "properties": { + "promise": { + "$ref": "#/definitions/Promise" + }, + "reason": { + "$ref": "#/definitions/Cancel" + } + }, + "additionalProperties": false, + "required": [ + "promise" + ] + }, + "Promise": { + "type": "object", + "properties": { + "__@toStringTag@676": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "__@toStringTag@676" + ] + }, + "Cancel": { + "type": "object", + "properties": { + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "message" + ] + }, + "TransitionalOptions": { + "type": "object", + "properties": { + "silentJSONParsing": { + "type": "boolean" + }, + "forcedJSONParsing": { + "type": "boolean" + }, + "clarifyTimeoutError": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "GenericAbortSignal": { + "type": "object", + "properties": { + "aborted": { + "type": "boolean" + }, + "onabort": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false + }, + { + "type": "null" + } + ] + }, + "addEventListener": { + "type": "object", + "additionalProperties": false + }, + "removeEventListener": { + "type": "object", + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "aborted" + ] + }, + "FormSerializerOptions": { + "type": "object", + "properties": { + "visitor": { + "$ref": "#/definitions/SerializerVisitor" + }, + "dots": { + "type": "boolean" + }, + "metaTokens": { + "type": "boolean" + }, + "indexes": { + "type": [ + "null", + "boolean" + ] + } + }, + "additionalProperties": false + }, + "AddressFamily": { + "enum": [ + 4, + 6 + ], + "type": "number" + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "Omit": { + "type": "object", + "properties": { + "credentials": { + "enum": [ + "include", + "omit", + "same-origin" + ], + "type": "string" + }, + "cache": { + "enum": [ + "default", + "force-cache", + "no-cache", + "no-store", + "only-if-cached", + "reload" + ], + "type": "string" + }, + "dispatcher": { + "description": "Dispatcher is the core API used to dispatch requests.", + "$ref": "#/definitions/default" + }, + "duplex": { + "const": "half", + "type": "string" + }, + "integrity": { + "type": "string" + }, + "keepalive": { + "type": "boolean" + }, + "mode": { + "enum": [ + "cors", + "navigate", + "no-cors", + "same-origin" + ], + "type": "string" + }, + "redirect": { + "enum": [ + "error", + "follow", + "manual" + ], + "type": "string" + }, + "referrer": { + "type": "string" + }, + "referrerPolicy": { + "enum": [ + "", + "no-referrer", + "no-referrer-when-downgrade", + "origin", + "origin-when-cross-origin", + "same-origin", + "strict-origin", + "strict-origin-when-cross-origin", + "unsafe-url" + ], + "type": "string" + }, + "window": { + "type": "null" + } + }, + "additionalProperties": false + }, + "default": { + "description": "Dispatcher is the core API used to dispatch requests.", + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "LibraryLocalResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/Data" + }, + "params": { + "$ref": "#/definitions/Params" + }, + "url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "body", + "params", + "url" + ], + "definitions": { + "Data": { + "type": "object", + "additionalProperties": false + }, + "Params": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Common.Response": { + "type": "object", + "properties": { + "Count": { "type": "integer" }, - "name": { - "$ref": "#/definitions/MessageName" + "Total": { + "type": "integer" }, - "binary": { - "type": "boolean" - }, - "columnTypes": { + "Data": { + "$ref": "#/definitions/Entity" + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Entity": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SendEmailV3.Response": { + "type": "object", + "properties": { + "Sent": { "type": "array", "items": { - "type": "integer" + "$ref": "#/definitions/SendEmailV3.ResponseSent" } } }, "additionalProperties": false, "required": [ - "binary", - "columnTypes", - "length", - "name" + "Sent" ], "definitions": { - "MessageName": { + "SendEmailV3.ResponseSent": { + "type": "object", + "properties": { + "Email": { + "type": "string" + }, + "MessageID": { + "type": "integer" + }, + "MessageUUID": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Email", + "MessageID", + "MessageUUID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SendEmailV3_1.Response": { + "type": "object", + "properties": { + "Messages": { + "type": "array", + "items": { + "$ref": "#/definitions/SendEmailV3_1.ResponseMessage" + } + } + }, + "additionalProperties": false, + "required": [ + "Messages" + ], + "definitions": { + "SendEmailV3_1.ResponseMessage": { + "type": "object", + "properties": { + "Status": { + "$ref": "#/definitions/SendEmailV3_1.ResponseStatus" + }, + "Errors": { + "type": "array", + "items": { + "$ref": "#/definitions/SendEmailV3_1.ResponseError" + } + }, + "CustomID": { + "type": "string" + }, + "To": { + "type": "array", + "items": { + "$ref": "#/definitions/SendEmailV3_1.ResponseEmailAddressTo" + } + }, + "Cc": { + "type": "array", + "items": { + "$ref": "#/definitions/SendEmailV3_1.ResponseEmailAddressTo" + } + }, + "Bcc": { + "type": "array", + "items": { + "$ref": "#/definitions/SendEmailV3_1.ResponseEmailAddressTo" + } + } + }, + "additionalProperties": false, + "required": [ + "Bcc", + "Cc", + "CustomID", + "Errors", + "Status", + "To" + ] + }, + "SendEmailV3_1.ResponseStatus": { + "type": "string", "enum": [ - "authenticationCleartextPassword", - "authenticationMD5Password", - "authenticationOk", - "authenticationSASL", - "authenticationSASLContinue", - "authenticationSASLFinal", - "backendKeyData", - "bindComplete", - "closeComplete", - "commandComplete", - "copyData", - "copyDone", - "copyInResponse", - "copyOutResponse", - "dataRow", - "emptyQuery", - "error", - "noData", - "notice", - "notification", - "parameterDescription", - "parameterStatus", - "parseComplete", - "portalSuspended", - "readyForQuery", - "replicationStart", - "rowDescription" + "success", + "error" + ] + }, + "SendEmailV3_1.ResponseError": { + "type": "object", + "properties": { + "ErrorIdentifier": { + "type": "string" + }, + "ErrorCode": { + "type": "string" + }, + "StatusCode": { + "type": "integer" + }, + "ErrorMessage": { + "type": "string" + }, + "ErrorRelatedTo": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "ErrorCode", + "ErrorIdentifier", + "ErrorMessage", + "ErrorRelatedTo", + "StatusCode" + ] + }, + "SendEmailV3_1.ResponseEmailAddressTo": { + "type": "object", + "properties": { + "Email": { + "type": "string" + }, + "MessageUUID": { + "type": "string" + }, + "MessageID": { + "type": "integer" + }, + "MessageHref": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Email", + "MessageHref", + "MessageID", + "MessageUUID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Message.GetMessagesResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Message.Message" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Message.Message": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ArrivedAt": { + "type": "string" + }, + "AttachmentCount": { + "type": "integer" + }, + "AttemptCount": { + "type": "integer" + }, + "CampaignID": { + "type": "integer" + }, + "ContactAlt": { + "type": "string" + }, + "ContactID": { + "type": "integer" + }, + "Delay": { + "type": "integer" + }, + "DestinationID": { + "type": "integer" + }, + "FilterTime": { + "type": "integer" + }, + "MessageSize": { + "type": "integer" + }, + "SenderID": { + "type": "integer" + }, + "SpamassassinScore": { + "type": "integer" + }, + "SpamassRules": { + "type": "string" + }, + "StateID": { + "$ref": "#/definitions/Message.MessageState" + }, + "StatePermanent": { + "type": "boolean" + }, + "Status": { + "$ref": "#/definitions/Message.CurrentMessageStatus" + }, + "Subject": { + "type": "string" + }, + "UUID": { + "type": "string" + }, + "IsClickTracked": { + "type": "boolean" + }, + "IsHTMLPartIncluded": { + "type": "boolean" + }, + "IsOpenTracked": { + "type": "boolean" + }, + "IsTextPartIncluded": { + "type": "boolean" + }, + "IsUnsubTracked": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "ArrivedAt", + "AttachmentCount", + "AttemptCount", + "CampaignID", + "ContactAlt", + "ContactID", + "Delay", + "DestinationID", + "FilterTime", + "ID", + "IsClickTracked", + "IsHTMLPartIncluded", + "IsOpenTracked", + "IsTextPartIncluded", + "IsUnsubTracked", + "MessageSize", + "SenderID", + "SpamassRules", + "SpamassassinScore", + "StateID", + "StatePermanent", + "Status", + "Subject", + "UUID" + ] + }, + "Message.MessageState": { + "type": "number", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21 + ] + }, + "Message.CurrentMessageStatus": { + "type": "string", + "enum": [ + "unknown", + "queued", + "sent", + "opened", + "clicked", + "bounce", + "spam", + "unsub", + "blocked", + "hardbounced", + "softbounced", + "deferred" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Message.GetMessageHistoryResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Message.MessageHistory" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Message.MessageHistory": { + "type": "object", + "properties": { + "Comment": { + "type": "string" + }, + "EventAt": { + "type": "integer" + }, + "EventType": { + "$ref": "#/definitions/Message.EventType" + }, + "State": { + "type": "string" + }, + "Useragent": { + "type": "string" + }, + "UseragentID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "Comment", + "EventAt", + "EventType", + "State", + "Useragent", + "UseragentID" + ] + }, + "Message.EventType": { + "type": "string", + "enum": [ + "sent", + "opened", + "clicked", + "bounced", + "blocked", + "unsub", + "spam" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Message.GetMessageInformationResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Message.MessageInformation" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Message.MessageInformation": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "CampaignID": { + "type": "integer" + }, + "ClickTrackedCount": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "CreatedAt": { + "type": "string" + }, + "MessageSize": { + "type": "integer" + }, + "OpenTrackedCount": { + "type": "integer" + }, + "QueuedCount": { + "type": "integer" + }, + "SendEndAt": { + "type": "string" + }, + "SentCount": { + "type": "integer" + }, + "SpamAssassinRules": { + "$ref": "#/definitions/Rules" + }, + "SpamAssassinScore": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "CampaignID", + "ClickTrackedCount", + "ContactID", + "CreatedAt", + "ID", + "MessageSize", + "OpenTrackedCount", + "QueuedCount", + "SendEndAt", + "SentCount", + "SpamAssassinRules", + "SpamAssassinScore" + ] + }, + "Rules": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Contact.Contact" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Contact.Contact": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsExcludedFromCampaigns": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredCount": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "ExclusionFromCampaignsUpdatedAt": { + "type": "string" + }, + "IsOptInPending": { + "type": "boolean" + }, + "IsSpamComplaining": { + "type": "boolean" + }, + "LastActivityAt": { + "type": "string" + }, + "LastUpdateAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DeliveredCount", + "Email", + "ExclusionFromCampaignsUpdatedAt", + "ID", + "IsExcludedFromCampaigns", + "IsOptInPending", + "IsSpamComplaining", + "LastActivityAt", + "LastUpdateAt", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Contact.PostContactResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Contact.Contact" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Contact.Contact": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsExcludedFromCampaigns": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredCount": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "ExclusionFromCampaignsUpdatedAt": { + "type": "string" + }, + "IsOptInPending": { + "type": "boolean" + }, + "IsSpamComplaining": { + "type": "boolean" + }, + "LastActivityAt": { + "type": "string" + }, + "LastUpdateAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DeliveredCount", + "Email", + "ExclusionFromCampaignsUpdatedAt", + "ID", + "IsExcludedFromCampaigns", + "IsOptInPending", + "IsSpamComplaining", + "LastActivityAt", + "LastUpdateAt", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Contact.PutContactResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Contact.Contact" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Contact.Contact": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsExcludedFromCampaigns": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredCount": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "ExclusionFromCampaignsUpdatedAt": { + "type": "string" + }, + "IsOptInPending": { + "type": "boolean" + }, + "IsSpamComplaining": { + "type": "boolean" + }, + "LastActivityAt": { + "type": "string" + }, + "LastUpdateAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DeliveredCount", + "Email", + "ExclusionFromCampaignsUpdatedAt", + "ID", + "IsExcludedFromCampaigns", + "IsOptInPending", + "IsSpamComplaining", + "LastActivityAt", + "LastUpdateAt", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Contact.GetContactResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Contact.Contact" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Contact.Contact": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsExcludedFromCampaigns": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredCount": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "ExclusionFromCampaignsUpdatedAt": { + "type": "string" + }, + "IsOptInPending": { + "type": "boolean" + }, + "IsSpamComplaining": { + "type": "boolean" + }, + "LastActivityAt": { + "type": "string" + }, + "LastUpdateAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DeliveredCount", + "Email", + "ExclusionFromCampaignsUpdatedAt", + "ID", + "IsExcludedFromCampaigns", + "IsOptInPending", + "IsSpamComplaining", + "LastActivityAt", + "LastUpdateAt", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactListResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactList.ContactList" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactList.ContactList": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsDeleted": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Address": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "SubscriberCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "Address", + "CreatedAt", + "ID", + "IsDeleted", + "Name", + "SubscriberCount" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactList.PostContactListResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactList.ContactList" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactList.ContactList": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsDeleted": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Address": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "SubscriberCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "Address", + "CreatedAt", + "ID", + "IsDeleted", + "Name", + "SubscriberCount" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactList.PutContactListResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactList.ContactList" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactList.ContactList": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsDeleted": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Address": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "SubscriberCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "Address", + "CreatedAt", + "ID", + "IsDeleted", + "Name", + "SubscriberCount" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactList.GetContactListResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactList.ContactList" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactList.ContactList": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsDeleted": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "Address": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "SubscriberCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "Address", + "CreatedAt", + "ID", + "IsDeleted", + "Name", + "SubscriberCount" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JobResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.Job" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.Job": { + "type": "object", + "properties": { + "JobID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "JobID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CSVImportResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.CSVImport" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.CSVImport": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ErrTreshold": { + "type": "integer" + }, + "ImportOptions": { + "type": "string" + }, + "Method": { + "$ref": "#/definitions/BulkContactManagement.ImportCSVMethod" + }, + "AliveAt": { + "type": "string" + }, + "ContactsListID": { + "type": "integer" + }, + "Count": { + "type": "integer" + }, + "Current": { + "type": "integer" + }, + "DataID": { + "type": "integer" + }, + "Errcount": { + "type": "integer" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "RequestAt": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/BulkContactManagement.CSVImportStatus" + } + }, + "additionalProperties": false, + "required": [ + "AliveAt", + "ContactsListID", + "Count", + "Current", + "DataID", + "ErrTreshold", + "Errcount", + "ID", + "ImportOptions", + "JobEnd", + "JobStart", + "Method", + "RequestAt", + "Status" + ] + }, + "BulkContactManagement.ImportCSVMethod": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub", + "excludemarketing", + "includemarketing" + ] + }, + "BulkContactManagement.CSVImportStatus": { + "type": "string", + "enum": [ + "Upload", + "Completed", + "Abort" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactManageManyContactsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactManageManyContacts" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.ContactManageManyContacts": { + "type": "object", + "properties": { + "ContactsLists": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactList" + } + }, + "Count": { + "type": "integer" + }, + "Error": { + "type": "string" + }, + "ErrorFile": { + "type": "string" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/BulkContactManagement.JobStatus" + } + }, + "additionalProperties": false, + "required": [ + "ContactsLists", + "Count", + "Error", + "ErrorFile", + "JobEnd", + "JobStart", + "Status" + ] + }, + "BulkContactManagement.ContactList": { + "type": "object", + "properties": { + "ListID": { + "type": "integer" + }, + "Action": { + "$ref": "#/definitions/BulkContactManagement.ManageContactsAction" + } + }, + "additionalProperties": false, + "required": [ + "Action", + "ListID" + ] + }, + "BulkContactManagement.ManageContactsAction": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub" + ] + }, + "BulkContactManagement.JobStatus": { + "type": "string", + "enum": [ + "Completed", + "In Progress", + "Error" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.PostContactManageManyContactsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.Job" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.Job": { + "type": "object", + "properties": { + "JobID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "JobID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.GetContactManageManyContactsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactManageManyContacts" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.ContactManageManyContacts": { + "type": "object", + "properties": { + "ContactsLists": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactList" + } + }, + "Count": { + "type": "integer" + }, + "Error": { + "type": "string" + }, + "ErrorFile": { + "type": "string" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/BulkContactManagement.JobStatus" + } + }, + "additionalProperties": false, + "required": [ + "ContactsLists", + "Count", + "Error", + "ErrorFile", + "JobEnd", + "JobStart", + "Status" + ] + }, + "BulkContactManagement.ContactList": { + "type": "object", + "properties": { + "ListID": { + "type": "integer" + }, + "Action": { + "$ref": "#/definitions/BulkContactManagement.ManageContactsAction" + } + }, + "additionalProperties": false, + "required": [ + "Action", + "ListID" + ] + }, + "BulkContactManagement.ManageContactsAction": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub" + ] + }, + "BulkContactManagement.JobStatus": { + "type": "string", + "enum": [ + "Completed", + "In Progress", + "Error" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.PostContactsListImportListResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.Job" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.Job": { + "type": "object", + "properties": { + "JobID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "JobID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.GetContactsListImportListResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactsListImportList" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.ContactsListImportList": { + "type": "object", + "properties": { + "JobID": { + "type": "integer" + }, + "Action": { + "$ref": "#/definitions/BulkContactManagement.ImportListAction" + }, + "ListID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "Action", + "JobID", + "ListID" + ] + }, + "BulkContactManagement.ImportListAction": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "unsub", + "duplicate-override", + "duplicate-no-override" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.PostContactsListManageManyContactsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.Job" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.Job": { + "type": "object", + "properties": { + "JobID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "JobID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.GetContactsListManageManyContactsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactManageManyContacts" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.ContactManageManyContacts": { + "type": "object", + "properties": { + "ContactsLists": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactList" + } + }, + "Count": { + "type": "integer" + }, + "Error": { + "type": "string" + }, + "ErrorFile": { + "type": "string" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/BulkContactManagement.JobStatus" + } + }, + "additionalProperties": false, + "required": [ + "ContactsLists", + "Count", + "Error", + "ErrorFile", + "JobEnd", + "JobStart", + "Status" + ] + }, + "BulkContactManagement.ContactList": { + "type": "object", + "properties": { + "ListID": { + "type": "integer" + }, + "Action": { + "$ref": "#/definitions/BulkContactManagement.ManageContactsAction" + } + }, + "additionalProperties": false, + "required": [ + "Action", + "ListID" + ] + }, + "BulkContactManagement.ManageContactsAction": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub" + ] + }, + "BulkContactManagement.JobStatus": { + "type": "string", + "enum": [ + "Completed", + "In Progress", + "Error" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.PostCSVImportResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.CSVImport" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.CSVImport": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ErrTreshold": { + "type": "integer" + }, + "ImportOptions": { + "type": "string" + }, + "Method": { + "$ref": "#/definitions/BulkContactManagement.ImportCSVMethod" + }, + "AliveAt": { + "type": "string" + }, + "ContactsListID": { + "type": "integer" + }, + "Count": { + "type": "integer" + }, + "Current": { + "type": "integer" + }, + "DataID": { + "type": "integer" + }, + "Errcount": { + "type": "integer" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "RequestAt": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/BulkContactManagement.CSVImportStatus" + } + }, + "additionalProperties": false, + "required": [ + "AliveAt", + "ContactsListID", + "Count", + "Current", + "DataID", + "ErrTreshold", + "Errcount", + "ID", + "ImportOptions", + "JobEnd", + "JobStart", + "Method", + "RequestAt", + "Status" + ] + }, + "BulkContactManagement.ImportCSVMethod": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub", + "excludemarketing", + "includemarketing" + ] + }, + "BulkContactManagement.CSVImportStatus": { + "type": "string", + "enum": [ + "Upload", + "Completed", + "Abort" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.PutCSVImportResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.CSVImport" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.CSVImport": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ErrTreshold": { + "type": "integer" + }, + "ImportOptions": { + "type": "string" + }, + "Method": { + "$ref": "#/definitions/BulkContactManagement.ImportCSVMethod" + }, + "AliveAt": { + "type": "string" + }, + "ContactsListID": { + "type": "integer" + }, + "Count": { + "type": "integer" + }, + "Current": { + "type": "integer" + }, + "DataID": { + "type": "integer" + }, + "Errcount": { + "type": "integer" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "RequestAt": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/BulkContactManagement.CSVImportStatus" + } + }, + "additionalProperties": false, + "required": [ + "AliveAt", + "ContactsListID", + "Count", + "Current", + "DataID", + "ErrTreshold", + "Errcount", + "ID", + "ImportOptions", + "JobEnd", + "JobStart", + "Method", + "RequestAt", + "Status" + ] + }, + "BulkContactManagement.ImportCSVMethod": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub", + "excludemarketing", + "includemarketing" + ] + }, + "BulkContactManagement.CSVImportStatus": { + "type": "string", + "enum": [ + "Upload", + "Completed", + "Abort" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "BulkContactManagement.GetCSVImportResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.CSVImport" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.CSVImport": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ErrTreshold": { + "type": "integer" + }, + "ImportOptions": { + "type": "string" + }, + "Method": { + "$ref": "#/definitions/BulkContactManagement.ImportCSVMethod" + }, + "AliveAt": { + "type": "string" + }, + "ContactsListID": { + "type": "integer" + }, + "Count": { + "type": "integer" + }, + "Current": { + "type": "integer" + }, + "DataID": { + "type": "integer" + }, + "Errcount": { + "type": "integer" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "RequestAt": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/BulkContactManagement.CSVImportStatus" + } + }, + "additionalProperties": false, + "required": [ + "AliveAt", + "ContactsListID", + "Count", + "Current", + "DataID", + "ErrTreshold", + "Errcount", + "ID", + "ImportOptions", + "JobEnd", + "JobStart", + "Method", + "RequestAt", + "Status" + ] + }, + "BulkContactManagement.ImportCSVMethod": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub", + "excludemarketing", + "includemarketing" + ] + }, + "BulkContactManagement.CSVImportStatus": { + "type": "string", + "enum": [ + "Upload", + "Completed", + "Abort" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactDataResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactData" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactProperties.ContactData": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactProperty" + } + } + }, + "additionalProperties": false, + "required": [ + "ContactID", + "Data", + "ID" + ] + }, + "ContactProperties.ContactProperty": { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Name", + "Value" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactMetaDataResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactMetaData" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactProperties.ContactMetaData": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Datatype": { + "$ref": "#/definitions/ContactProperties.DataType" + }, + "Name": { + "type": "string" + }, + "NameSpace": { + "$ref": "#/definitions/ContactProperties.NameSpace" + } + }, + "additionalProperties": false, + "required": [ + "Datatype", + "ID", + "Name", + "NameSpace" + ] + }, + "ContactProperties.DataType": { + "type": "string", + "enum": [ + "str", + "int", + "float", + "bool", + "datetime" + ] + }, + "ContactProperties.NameSpace": { + "type": "string", + "enum": [ + "static", + "historic" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactProperties.PostContactMetaDataResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactMetaData" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactProperties.ContactMetaData": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Datatype": { + "$ref": "#/definitions/ContactProperties.DataType" + }, + "Name": { + "type": "string" + }, + "NameSpace": { + "$ref": "#/definitions/ContactProperties.NameSpace" + } + }, + "additionalProperties": false, + "required": [ + "Datatype", + "ID", + "Name", + "NameSpace" + ] + }, + "ContactProperties.DataType": { + "type": "string", + "enum": [ + "str", + "int", + "float", + "bool", + "datetime" + ] + }, + "ContactProperties.NameSpace": { + "type": "string", + "enum": [ + "static", + "historic" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactProperties.PutContactMetaDataResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactMetaData" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactProperties.ContactMetaData": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Datatype": { + "$ref": "#/definitions/ContactProperties.DataType" + }, + "Name": { + "type": "string" + }, + "NameSpace": { + "$ref": "#/definitions/ContactProperties.NameSpace" + } + }, + "additionalProperties": false, + "required": [ + "Datatype", + "ID", + "Name", + "NameSpace" + ] + }, + "ContactProperties.DataType": { + "type": "string", + "enum": [ + "str", + "int", + "float", + "bool", + "datetime" + ] + }, + "ContactProperties.NameSpace": { + "type": "string", + "enum": [ + "static", + "historic" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactProperties.GetContactMetaDataResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactMetaData" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactProperties.ContactMetaData": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Datatype": { + "$ref": "#/definitions/ContactProperties.DataType" + }, + "Name": { + "type": "string" + }, + "NameSpace": { + "$ref": "#/definitions/ContactProperties.NameSpace" + } + }, + "additionalProperties": false, + "required": [ + "Datatype", + "ID", + "Name", + "NameSpace" + ] + }, + "ContactProperties.DataType": { + "type": "string", + "enum": [ + "str", + "int", + "float", + "bool", + "datetime" + ] + }, + "ContactProperties.NameSpace": { + "type": "string", + "enum": [ + "static", + "historic" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactProperties.PutContactDataResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactData" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactProperties.ContactData": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactProperty" + } + } + }, + "additionalProperties": false, + "required": [ + "ContactID", + "Data", + "ID" + ] + }, + "ContactProperties.ContactProperty": { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Name", + "Value" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactProperties.GetContactDataResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactData" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactProperties.ContactData": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactProperties.ContactProperty" + } + } + }, + "additionalProperties": false, + "required": [ + "ContactID", + "Data", + "ID" + ] + }, + "ContactProperties.ContactProperty": { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "Value": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Name", + "Value" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ListRecipientResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactSubscription.ListRecipient" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactSubscription.ListRecipient": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsUnsubscribed": { + "type": "boolean" + }, + "ContactID": { + "type": "integer" + }, + "ListID": { + "type": "integer" + }, + "ListName": { + "type": "string" + }, + "SubscribedAt": { + "type": "string" + }, + "UnsubscribedAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ContactID", + "ID", + "IsUnsubscribed", + "ListID", + "ListName", + "SubscribedAt", + "UnsubscribedAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactSubscription.PostContactManageContactsListsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ContactsLists": { + "type": "array", + "items": { + "$ref": "#/definitions/BulkContactManagement.ContactList" + } + } + }, + "additionalProperties": false, + "required": [ + "ContactsLists" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "BulkContactManagement.ContactList": { + "type": "object", + "properties": { + "ListID": { + "type": "integer" + }, + "Action": { + "$ref": "#/definitions/BulkContactManagement.ManageContactsAction" + } + }, + "additionalProperties": false, + "required": [ + "Action", + "ListID" + ] + }, + "BulkContactManagement.ManageContactsAction": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactSubscription.PostContactsListManageContactResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactSubscription.ManageContacts" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactSubscription.ManageContacts": { + "type": "object", + "properties": { + "Properties": { + "$ref": "#/definitions/Properties" + }, + "Email": { + "type": "string" + }, + "Action": { + "$ref": "#/definitions/BulkContactManagement.ManageContactsAction" + }, + "Name": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Action", + "Email", + "Name", + "Properties" + ] + }, + "Properties": { + "type": "object", + "additionalProperties": false + }, + "BulkContactManagement.ManageContactsAction": { + "type": "string", + "enum": [ + "addforce", + "addnoforce", + "remove", + "unsub" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactSubscription.PostListRecipientResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactSubscription.ListRecipient" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactSubscription.ListRecipient": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsUnsubscribed": { + "type": "boolean" + }, + "ContactID": { + "type": "integer" + }, + "ListID": { + "type": "integer" + }, + "ListName": { + "type": "string" + }, + "SubscribedAt": { + "type": "string" + }, + "UnsubscribedAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ContactID", + "ID", + "IsUnsubscribed", + "ListID", + "ListName", + "SubscribedAt", + "UnsubscribedAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactSubscription.PutListRecipientResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactSubscription.ListRecipient" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactSubscription.ListRecipient": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsUnsubscribed": { + "type": "boolean" + }, + "ContactID": { + "type": "integer" + }, + "ListID": { + "type": "integer" + }, + "ListName": { + "type": "string" + }, + "SubscribedAt": { + "type": "string" + }, + "UnsubscribedAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ContactID", + "ID", + "IsUnsubscribed", + "ListID", + "ListName", + "SubscribedAt", + "UnsubscribedAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactSubscription.GetListRecipientResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactSubscription.ListRecipient" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactSubscription.ListRecipient": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsUnsubscribed": { + "type": "boolean" + }, + "ContactID": { + "type": "integer" + }, + "ListID": { + "type": "integer" + }, + "ListName": { + "type": "string" + }, + "SubscribedAt": { + "type": "string" + }, + "UnsubscribedAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ContactID", + "ID", + "IsUnsubscribed", + "ListID", + "ListName", + "SubscribedAt", + "UnsubscribedAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactSubscription.GetContactGetContactsListsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactSubscription.ContactsList" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactSubscription.ContactsList": { + "type": "object", + "properties": { + "ListID": { + "type": "integer" + }, + "IsUnsub": { + "type": "boolean" + }, + "SubscribedAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "IsUnsub", + "ListID", + "SubscribedAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactSubscription.GetContactsListSignupResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactSubscription.ContactsListSignup" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactSubscription.ContactsListSignup": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ConfirmAt": { + "type": "integer" + }, + "ConfirmIp": { + "type": "string" + }, + "ContactID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "ListID": { + "type": "integer" + }, + "SignupAt": { + "type": "integer" + }, + "SignupIp": { + "type": "string" + }, + "SignupKey": { + "type": "string" + }, + "SourceId": { + "type": "integer" + }, + "Source": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ConfirmAt", + "ConfirmIp", + "ContactID", + "Email", + "ID", + "ListID", + "SignupAt", + "SignupIp", + "SignupKey", + "Source", + "SourceId" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactVerification.GetContactsListVerifyResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/ContactVerification.ContactsListVerification" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "ContactVerification.ContactsListVerification": { + "type": "object", + "properties": { + "Akid": { + "type": "integer" + }, + "ContactListID": { + "type": "integer" + }, + "Count": { + "type": "integer" + }, + "Error": { + "type": "string" + }, + "ID": { + "type": "integer" + }, + "JobEnd": { + "type": "string" + }, + "JobStart": { + "type": "string" + }, + "Method": { + "type": "string" + }, + "ResponseURL": { + "type": "string" + }, + "Status": { + "type": "string" + }, + "Summary": { + "$ref": "#/definitions/ContactVerification.VerificationSummary" + } + }, + "additionalProperties": false, + "required": [ + "Akid", + "ContactListID", + "Count", + "Error", + "ID", + "JobEnd", + "JobStart", + "Method", + "ResponseURL", + "Status", + "Summary" + ] + }, + "ContactVerification.VerificationSummary": { + "type": "object", + "properties": { + "result": { + "$ref": "#/definitions/Result" + }, + "risk": { + "$ref": "#/definitions/Risk" + } + }, + "additionalProperties": false, + "required": [ + "result", + "risk" + ] + }, + "Result": { + "type": "object", + "additionalProperties": false + }, + "Risk": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CampaignDraftResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraft" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraft": { + "type": "object", + "properties": { + "AXTesting": { + "$ref": "#/definitions/Common.UnknownRec" + }, + "ID": { + "type": "integer" + }, + "AXFraction": { + "type": "integer" + }, + "AXFractionName": { + "type": "string" + }, + "Current": { + "type": "integer" + }, + "EditMode": { + "$ref": "#/definitions/DraftCampaign.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartIncluded": { + "type": "boolean" + }, + "ReplyEmail": { + "type": "string" + }, + "SenderName": { + "type": "string" + }, + "TemplateID": { + "type": "integer" + }, + "Title": { + "type": "string" + }, + "CampaignID": { + "type": "integer" + }, + "ContactsListID": { + "type": "integer" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredAt": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ModifiedAt": { + "type": "string" + }, + "Preset": { + "type": "string" + }, + "SegmentationID": { + "type": "integer" + }, + "Sender": { + "type": "string" + }, + "SenderEmail": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftStatus" + }, + "Subject": { + "type": "string" + }, + "Url": { + "type": "string" + }, + "Used": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AXFraction", + "AXFractionName", + "AXTesting", + "CampaignID", + "ContactsListID", + "CreatedAt", + "Current", + "DeliveredAt", + "EditMode", + "ID", + "IsStarred", + "IsTextPartIncluded", + "Locale", + "ModifiedAt", + "Preset", + "ReplyEmail", + "SegmentationID", + "Sender", + "SenderEmail", + "SenderName", + "Status", + "Subject", + "TemplateID", + "Title", + "Url", + "Used" + ] + }, + "Common.UnknownRec": { + "type": "object", + "additionalProperties": false + }, + "DraftCampaign.EditMode": { + "type": "string", + "enum": [ + "tool2", + "html2", + "mjml" + ] + }, + "DraftCampaign.CampaignDraftStatus": { + "type": "number", + "enum": [ + -3, + -2, + -1, + 0, + 1, + 2, + 3, + 4 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CampaignDraftScheduleResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftSchedule" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftSchedule": { + "type": "object", + "properties": { + "Date": { + "type": "string" + }, + "Status": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Date", + "Status" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CampaignDraftDetailContentResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftDetailContent" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftDetailContent": { + "type": "object", + "properties": { + "Headers": { + "$ref": "#/definitions/Headers" + }, + "Html-part": { + "type": "string" + }, + "Text-part": { + "type": "string" + }, + "MJMLContent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Headers", + "Html-part", + "MJMLContent", + "Text-part" + ] + }, + "Headers": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CampaignDraftStatusResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Status": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftSendingStatus" + } + }, + "additionalProperties": false, + "required": [ + "Status" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftSendingStatus": { + "type": "string", + "enum": [ + "AXCancelled", + "Deleted", + "Archived", + "Draft", + "Programmed", + "Sent", + "AXTested", + "AXSelected" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.PostCampaignDraftResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraft" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraft": { + "type": "object", + "properties": { + "AXTesting": { + "$ref": "#/definitions/Common.UnknownRec" + }, + "ID": { + "type": "integer" + }, + "AXFraction": { + "type": "integer" + }, + "AXFractionName": { + "type": "string" + }, + "Current": { + "type": "integer" + }, + "EditMode": { + "$ref": "#/definitions/DraftCampaign.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartIncluded": { + "type": "boolean" + }, + "ReplyEmail": { + "type": "string" + }, + "SenderName": { + "type": "string" + }, + "TemplateID": { + "type": "integer" + }, + "Title": { + "type": "string" + }, + "CampaignID": { + "type": "integer" + }, + "ContactsListID": { + "type": "integer" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredAt": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ModifiedAt": { + "type": "string" + }, + "Preset": { + "type": "string" + }, + "SegmentationID": { + "type": "integer" + }, + "Sender": { + "type": "string" + }, + "SenderEmail": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftStatus" + }, + "Subject": { + "type": "string" + }, + "Url": { + "type": "string" + }, + "Used": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AXFraction", + "AXFractionName", + "AXTesting", + "CampaignID", + "ContactsListID", + "CreatedAt", + "Current", + "DeliveredAt", + "EditMode", + "ID", + "IsStarred", + "IsTextPartIncluded", + "Locale", + "ModifiedAt", + "Preset", + "ReplyEmail", + "SegmentationID", + "Sender", + "SenderEmail", + "SenderName", + "Status", + "Subject", + "TemplateID", + "Title", + "Url", + "Used" + ] + }, + "Common.UnknownRec": { + "type": "object", + "additionalProperties": false + }, + "DraftCampaign.EditMode": { + "type": "string", + "enum": [ + "tool2", + "html2", + "mjml" + ] + }, + "DraftCampaign.CampaignDraftStatus": { + "type": "number", + "enum": [ + -3, + -2, + -1, + 0, + 1, + 2, + 3, + 4 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.PutCampaignDraftResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraft" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraft": { + "type": "object", + "properties": { + "AXTesting": { + "$ref": "#/definitions/Common.UnknownRec" + }, + "ID": { + "type": "integer" + }, + "AXFraction": { + "type": "integer" + }, + "AXFractionName": { + "type": "string" + }, + "Current": { + "type": "integer" + }, + "EditMode": { + "$ref": "#/definitions/DraftCampaign.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartIncluded": { + "type": "boolean" + }, + "ReplyEmail": { + "type": "string" + }, + "SenderName": { + "type": "string" + }, + "TemplateID": { + "type": "integer" + }, + "Title": { + "type": "string" + }, + "CampaignID": { + "type": "integer" + }, + "ContactsListID": { + "type": "integer" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredAt": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ModifiedAt": { + "type": "string" + }, + "Preset": { + "type": "string" + }, + "SegmentationID": { + "type": "integer" + }, + "Sender": { + "type": "string" + }, + "SenderEmail": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftStatus" + }, + "Subject": { + "type": "string" + }, + "Url": { + "type": "string" + }, + "Used": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AXFraction", + "AXFractionName", + "AXTesting", + "CampaignID", + "ContactsListID", + "CreatedAt", + "Current", + "DeliveredAt", + "EditMode", + "ID", + "IsStarred", + "IsTextPartIncluded", + "Locale", + "ModifiedAt", + "Preset", + "ReplyEmail", + "SegmentationID", + "Sender", + "SenderEmail", + "SenderName", + "Status", + "Subject", + "TemplateID", + "Title", + "Url", + "Used" + ] + }, + "Common.UnknownRec": { + "type": "object", + "additionalProperties": false + }, + "DraftCampaign.EditMode": { + "type": "string", + "enum": [ + "tool2", + "html2", + "mjml" + ] + }, + "DraftCampaign.CampaignDraftStatus": { + "type": "number", + "enum": [ + -3, + -2, + -1, + 0, + 1, + 2, + 3, + 4 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.GetCampaignDraftResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraft" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraft": { + "type": "object", + "properties": { + "AXTesting": { + "$ref": "#/definitions/Common.UnknownRec" + }, + "ID": { + "type": "integer" + }, + "AXFraction": { + "type": "integer" + }, + "AXFractionName": { + "type": "string" + }, + "Current": { + "type": "integer" + }, + "EditMode": { + "$ref": "#/definitions/DraftCampaign.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartIncluded": { + "type": "boolean" + }, + "ReplyEmail": { + "type": "string" + }, + "SenderName": { + "type": "string" + }, + "TemplateID": { + "type": "integer" + }, + "Title": { + "type": "string" + }, + "CampaignID": { + "type": "integer" + }, + "ContactsListID": { + "type": "integer" + }, + "CreatedAt": { + "type": "string" + }, + "DeliveredAt": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "ModifiedAt": { + "type": "string" + }, + "Preset": { + "type": "string" + }, + "SegmentationID": { + "type": "integer" + }, + "Sender": { + "type": "string" + }, + "SenderEmail": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftStatus" + }, + "Subject": { + "type": "string" + }, + "Url": { + "type": "string" + }, + "Used": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "AXFraction", + "AXFractionName", + "AXTesting", + "CampaignID", + "ContactsListID", + "CreatedAt", + "Current", + "DeliveredAt", + "EditMode", + "ID", + "IsStarred", + "IsTextPartIncluded", + "Locale", + "ModifiedAt", + "Preset", + "ReplyEmail", + "SegmentationID", + "Sender", + "SenderEmail", + "SenderName", + "Status", + "Subject", + "TemplateID", + "Title", + "Url", + "Used" + ] + }, + "Common.UnknownRec": { + "type": "object", + "additionalProperties": false + }, + "DraftCampaign.EditMode": { + "type": "string", + "enum": [ + "tool2", + "html2", + "mjml" + ] + }, + "DraftCampaign.CampaignDraftStatus": { + "type": "number", + "enum": [ + -3, + -2, + -1, + 0, + 1, + 2, + 3, + 4 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.PostCampaignDraftScheduleResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftSchedule" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftSchedule": { + "type": "object", + "properties": { + "Date": { + "type": "string" + }, + "Status": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Date", + "Status" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.PutCampaignDraftScheduleResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftSchedule" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftSchedule": { + "type": "object", + "properties": { + "Date": { + "type": "string" + }, + "Status": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Date", + "Status" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.GetCampaignDraftScheduleResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftSchedule" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftSchedule": { + "type": "object", + "properties": { + "Date": { + "type": "string" + }, + "Status": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Date", + "Status" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.PostCampaignDraftDetailContentResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftDetailContent" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftDetailContent": { + "type": "object", + "properties": { + "Headers": { + "$ref": "#/definitions/Headers" + }, + "Html-part": { + "type": "string" + }, + "Text-part": { + "type": "string" + }, + "MJMLContent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Headers", + "Html-part", + "MJMLContent", + "Text-part" + ] + }, + "Headers": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DraftCampaign.GetCampaignDraftDetailContentResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DraftCampaign.CampaignDraftDetailContent" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DraftCampaign.CampaignDraftDetailContent": { + "type": "object", + "properties": { + "Headers": { + "$ref": "#/definitions/Headers" + }, + "Html-part": { + "type": "string" + }, + "Text-part": { + "type": "string" + }, + "MJMLContent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Headers", + "Html-part", + "MJMLContent", + "Text-part" + ] + }, + "Headers": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "CampaignResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/SentCampaign.Campaign" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "SentCampaign.Campaign": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsDeleted": { + "type": "boolean" + }, + "IsStarred": { + "type": "boolean" + }, + "CampaignType": { + "$ref": "#/definitions/SentCampaign.CampaignType" + }, + "CreatedAt": { + "type": "string" + }, + "CustomValue": { + "type": "string" + }, + "FirstMessageID": { + "type": "integer" + }, + "FromEmail": { + "type": "string" + }, + "FromID": { + "type": "integer" + }, + "FromName": { + "type": "string" + }, + "HasHtmlCount": { + "type": "integer" + }, + "HasTxtCount": { + "type": "integer" + }, + "ListID": { + "type": "integer" + }, + "NewsLetterID": { + "type": "integer" + }, + "SegmentationID": { + "type": "integer" + }, + "SendEndAt": { + "type": "string" + }, + "SendStartAt": { + "type": "string" + }, + "SpamassScore": { + "type": "integer" + }, + "Subject": { + "type": "string" + }, + "WorkflowID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "CampaignType", + "CreatedAt", + "CustomValue", + "FirstMessageID", + "FromEmail", + "FromID", + "FromName", + "HasHtmlCount", + "HasTxtCount", + "ID", + "IsDeleted", + "IsStarred", + "ListID", + "NewsLetterID", + "SegmentationID", + "SendEndAt", + "SendStartAt", + "SpamassScore", + "Subject", + "WorkflowID" + ] + }, + "SentCampaign.CampaignType": { + "type": "number", + "enum": [ + 1, + 2, + 3 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SentCampaign.PutCampaignResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/SentCampaign.Campaign" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "SentCampaign.Campaign": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsDeleted": { + "type": "boolean" + }, + "IsStarred": { + "type": "boolean" + }, + "CampaignType": { + "$ref": "#/definitions/SentCampaign.CampaignType" + }, + "CreatedAt": { + "type": "string" + }, + "CustomValue": { + "type": "string" + }, + "FirstMessageID": { + "type": "integer" + }, + "FromEmail": { + "type": "string" + }, + "FromID": { + "type": "integer" + }, + "FromName": { + "type": "string" + }, + "HasHtmlCount": { + "type": "integer" + }, + "HasTxtCount": { + "type": "integer" + }, + "ListID": { + "type": "integer" + }, + "NewsLetterID": { + "type": "integer" + }, + "SegmentationID": { + "type": "integer" + }, + "SendEndAt": { + "type": "string" + }, + "SendStartAt": { + "type": "string" + }, + "SpamassScore": { + "type": "integer" + }, + "Subject": { + "type": "string" + }, + "WorkflowID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "CampaignType", + "CreatedAt", + "CustomValue", + "FirstMessageID", + "FromEmail", + "FromID", + "FromName", + "HasHtmlCount", + "HasTxtCount", + "ID", + "IsDeleted", + "IsStarred", + "ListID", + "NewsLetterID", + "SegmentationID", + "SendEndAt", + "SendStartAt", + "SpamassScore", + "Subject", + "WorkflowID" + ] + }, + "SentCampaign.CampaignType": { + "type": "number", + "enum": [ + 1, + 2, + 3 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SentCampaign.GetCampaignResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/SentCampaign.Campaign" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "SentCampaign.Campaign": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "IsDeleted": { + "type": "boolean" + }, + "IsStarred": { + "type": "boolean" + }, + "CampaignType": { + "$ref": "#/definitions/SentCampaign.CampaignType" + }, + "CreatedAt": { + "type": "string" + }, + "CustomValue": { + "type": "string" + }, + "FirstMessageID": { + "type": "integer" + }, + "FromEmail": { + "type": "string" + }, + "FromID": { + "type": "integer" + }, + "FromName": { + "type": "string" + }, + "HasHtmlCount": { + "type": "integer" + }, + "HasTxtCount": { + "type": "integer" + }, + "ListID": { + "type": "integer" + }, + "NewsLetterID": { + "type": "integer" + }, + "SegmentationID": { + "type": "integer" + }, + "SendEndAt": { + "type": "string" + }, + "SendStartAt": { + "type": "string" + }, + "SpamassScore": { + "type": "integer" + }, + "Subject": { + "type": "string" + }, + "WorkflowID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "CampaignType", + "CreatedAt", + "CustomValue", + "FirstMessageID", + "FromEmail", + "FromID", + "FromName", + "HasHtmlCount", + "HasTxtCount", + "ID", + "IsDeleted", + "IsStarred", + "ListID", + "NewsLetterID", + "SegmentationID", + "SendEndAt", + "SendStartAt", + "SpamassScore", + "Subject", + "WorkflowID" + ] + }, + "SentCampaign.CampaignType": { + "type": "number", + "enum": [ + 1, + 2, + 3 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ContactFilterResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Segmentation.ContactFilter" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Segmentation.ContactFilter": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Segmentation.SegmentStatus" + } + }, + "additionalProperties": false, + "required": [ + "Description", + "Expression", + "ID", + "Name", + "Status" + ] + }, + "Segmentation.SegmentStatus": { + "type": "string", + "enum": [ + "used", + "unused", + "deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Segmentation.PostContactFilterResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Segmentation.ContactFilter" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Segmentation.ContactFilter": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Segmentation.SegmentStatus" + } + }, + "additionalProperties": false, + "required": [ + "Description", + "Expression", + "ID", + "Name", + "Status" + ] + }, + "Segmentation.SegmentStatus": { + "type": "string", + "enum": [ + "used", + "unused", + "deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Segmentation.PutContactFilterResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Segmentation.ContactFilter" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Segmentation.ContactFilter": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Segmentation.SegmentStatus" + } + }, + "additionalProperties": false, + "required": [ + "Description", + "Expression", + "ID", + "Name", + "Status" + ] + }, + "Segmentation.SegmentStatus": { + "type": "string", + "enum": [ + "used", + "unused", + "deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Segmentation.GetContactFilterResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Segmentation.ContactFilter" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Segmentation.ContactFilter": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "Expression": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Segmentation.SegmentStatus" + } + }, + "additionalProperties": false, + "required": [ + "Description", + "Expression", + "ID", + "Name", + "Status" + ] + }, + "Segmentation.SegmentStatus": { + "type": "string", + "enum": [ + "used", + "unused", + "deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "TemplateResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "additionalProperties": false, + "type": "array", + "properties": { + "Author": { + "type": "string" + }, + "Categories": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Categories" + } + }, + "Copyright": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EditMode": { + "$ref": "#/definitions/Template.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartGenerationEnabled": { + "type": "boolean" + }, + "Locale": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "OwnerType": { + "$ref": "#/definitions/Template.OwnerType" + }, + "Presets": { + "type": "string" + }, + "Purposes": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Purposes" + } + }, + "ID": { + "type": "integer" + }, + "OwnerId": { + "type": "integer" + }, + "Previews": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "LastUpdatedAt": { + "type": "string" + } + }, + "required": [ + "Author", + "Categories", + "Copyright", + "CreatedAt", + "Description", + "EditMode", + "ID", + "IsStarred", + "IsTextPartGenerationEnabled", + "LastUpdatedAt", + "Locale", + "Name", + "OwnerId", + "OwnerType", + "Presets", + "Previews", + "Purposes" + ] + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Categories": { + "type": "string", + "enum": [ + "full", + "basic", + "newsletter", + "e-commerce", + "events", + "travel", + "sports", + "welcome", + "contact-property-update", + "support", + "invoice", + "anniversary", + "account", + "activation" + ] + }, + "Template.EditMode": { + "type": "number", + "enum": [ + 1, + 2, + 3, + 4 + ] + }, + "Template.OwnerType": { + "type": "string", + "enum": [ + "apikey", + "user", + "global" + ] + }, + "Template.Purposes": { + "type": "string", + "enum": [ + "marketing", + "transactional", + "automation" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "TemplateDetailContentResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Headers": { + "$ref": "#/definitions/Template.Headers" + }, + "Html-part": { + "type": "string" + }, + "Text-part": { + "type": "string" + }, + "MJMLContent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Headers", + "Html-part", + "MJMLContent", + "Text-part" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Headers": { + "type": "object", + "properties": { + "From": { + "type": "string" + }, + "Subject": { + "type": "string" + }, + "Reply-to": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "From", + "Reply-to", + "Subject" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Template.PostTemplateResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "additionalProperties": false, + "type": "array", + "properties": { + "Author": { + "type": "string" + }, + "Categories": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Categories" + } + }, + "Copyright": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EditMode": { + "$ref": "#/definitions/Template.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartGenerationEnabled": { + "type": "boolean" + }, + "Locale": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "OwnerType": { + "$ref": "#/definitions/Template.OwnerType" + }, + "Presets": { + "type": "string" + }, + "Purposes": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Purposes" + } + }, + "ID": { + "type": "integer" + }, + "OwnerId": { + "type": "integer" + }, + "Previews": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "LastUpdatedAt": { + "type": "string" + } + }, + "required": [ + "Author", + "Categories", + "Copyright", + "CreatedAt", + "Description", + "EditMode", + "ID", + "IsStarred", + "IsTextPartGenerationEnabled", + "LastUpdatedAt", + "Locale", + "Name", + "OwnerId", + "OwnerType", + "Presets", + "Previews", + "Purposes" + ] + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Categories": { + "type": "string", + "enum": [ + "full", + "basic", + "newsletter", + "e-commerce", + "events", + "travel", + "sports", + "welcome", + "contact-property-update", + "support", + "invoice", + "anniversary", + "account", + "activation" + ] + }, + "Template.EditMode": { + "type": "number", + "enum": [ + 1, + 2, + 3, + 4 + ] + }, + "Template.OwnerType": { + "type": "string", + "enum": [ + "apikey", + "user", + "global" + ] + }, + "Template.Purposes": { + "type": "string", + "enum": [ + "marketing", + "transactional", + "automation" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Template.PutTemplateResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "additionalProperties": false, + "type": "array", + "properties": { + "Author": { + "type": "string" + }, + "Categories": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Categories" + } + }, + "Copyright": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EditMode": { + "$ref": "#/definitions/Template.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartGenerationEnabled": { + "type": "boolean" + }, + "Locale": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "OwnerType": { + "$ref": "#/definitions/Template.OwnerType" + }, + "Presets": { + "type": "string" + }, + "Purposes": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Purposes" + } + }, + "ID": { + "type": "integer" + }, + "OwnerId": { + "type": "integer" + }, + "Previews": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "LastUpdatedAt": { + "type": "string" + } + }, + "required": [ + "Author", + "Categories", + "Copyright", + "CreatedAt", + "Description", + "EditMode", + "ID", + "IsStarred", + "IsTextPartGenerationEnabled", + "LastUpdatedAt", + "Locale", + "Name", + "OwnerId", + "OwnerType", + "Presets", + "Previews", + "Purposes" + ] + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Categories": { + "type": "string", + "enum": [ + "full", + "basic", + "newsletter", + "e-commerce", + "events", + "travel", + "sports", + "welcome", + "contact-property-update", + "support", + "invoice", + "anniversary", + "account", + "activation" + ] + }, + "Template.EditMode": { + "type": "number", + "enum": [ + 1, + 2, + 3, + 4 + ] + }, + "Template.OwnerType": { + "type": "string", + "enum": [ + "apikey", + "user", + "global" + ] + }, + "Template.Purposes": { + "type": "string", + "enum": [ + "marketing", + "transactional", + "automation" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Template.GetTemplateResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "additionalProperties": false, + "type": "array", + "properties": { + "Author": { + "type": "string" + }, + "Categories": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Categories" + } + }, + "Copyright": { + "type": "string" + }, + "Description": { + "type": "string" + }, + "EditMode": { + "$ref": "#/definitions/Template.EditMode" + }, + "IsStarred": { + "type": "boolean" + }, + "IsTextPartGenerationEnabled": { + "type": "boolean" + }, + "Locale": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "OwnerType": { + "$ref": "#/definitions/Template.OwnerType" + }, + "Presets": { + "type": "string" + }, + "Purposes": { + "type": "array", + "items": { + "$ref": "#/definitions/Template.Purposes" + } + }, + "ID": { + "type": "integer" + }, + "OwnerId": { + "type": "integer" + }, + "Previews": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "LastUpdatedAt": { + "type": "string" + } + }, + "required": [ + "Author", + "Categories", + "Copyright", + "CreatedAt", + "Description", + "EditMode", + "ID", + "IsStarred", + "IsTextPartGenerationEnabled", + "LastUpdatedAt", + "Locale", + "Name", + "OwnerId", + "OwnerType", + "Presets", + "Previews", + "Purposes" + ] + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Categories": { + "type": "string", + "enum": [ + "full", + "basic", + "newsletter", + "e-commerce", + "events", + "travel", + "sports", + "welcome", + "contact-property-update", + "support", + "invoice", + "anniversary", + "account", + "activation" + ] + }, + "Template.EditMode": { + "type": "number", + "enum": [ + 1, + 2, + 3, + 4 + ] + }, + "Template.OwnerType": { + "type": "string", + "enum": [ + "apikey", + "user", + "global" + ] + }, + "Template.Purposes": { + "type": "string", + "enum": [ + "marketing", + "transactional", + "automation" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Template.PostTemplateDetailContentResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Headers": { + "$ref": "#/definitions/Template.Headers" + }, + "Html-part": { + "type": "string" + }, + "Text-part": { + "type": "string" + }, + "MJMLContent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Headers", + "Html-part", + "MJMLContent", + "Text-part" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Headers": { + "type": "object", + "properties": { + "From": { + "type": "string" + }, + "Subject": { + "type": "string" + }, + "Reply-to": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "From", + "Reply-to", + "Subject" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Template.PutTemplateDetailContentResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Headers": { + "$ref": "#/definitions/Template.Headers" + }, + "Html-part": { + "type": "string" + }, + "Text-part": { + "type": "string" + }, + "MJMLContent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Headers", + "Html-part", + "MJMLContent", + "Text-part" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Headers": { + "type": "object", + "properties": { + "From": { + "type": "string" + }, + "Subject": { + "type": "string" + }, + "Reply-to": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "From", + "Reply-to", + "Subject" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Template.GetTemplateDetailContentResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Headers": { + "$ref": "#/definitions/Template.Headers" + }, + "Html-part": { + "type": "string" + }, + "Text-part": { + "type": "string" + }, + "MJMLContent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Headers", + "Html-part", + "MJMLContent", + "Text-part" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Template.Headers": { + "type": "object", + "properties": { + "From": { + "type": "string" + }, + "Subject": { + "type": "string" + }, + "Reply-to": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "From", + "Reply-to", + "Subject" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetCampaignOverviewResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.CampaignOverview" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.CampaignOverview": { + "type": "object", + "properties": { + "ClickedCount": { + "type": "integer" + }, + "DeliveredCount": { + "type": "integer" + }, + "EditMode": { + "$ref": "#/definitions/Statistic.CampaignOverviewEditMode" + }, + "EditType": { + "$ref": "#/definitions/Statistic.CampaignOverviewEditType" + }, + "ID": { + "type": "integer" + }, + "IDType": { + "$ref": "#/definitions/Statistic.CampaignOverviewIDType" + }, + "OpenedCount": { + "type": "integer" + }, + "ProcessedCount": { + "type": "integer" + }, + "SendTimeStart": { + "type": "integer" + }, + "Starred": { + "type": "boolean" + }, + "Subject": { + "type": "string" + }, + "Title": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ClickedCount", + "DeliveredCount", + "EditMode", + "EditType", + "ID", + "IDType", + "OpenedCount", + "ProcessedCount", + "SendTimeStart", + "Starred", + "Subject", + "Title" + ] + }, + "Statistic.CampaignOverviewEditMode": { + "type": "string", + "enum": [ + "tool", + "html", + "tool2", + "html2", + "mjml" + ] + }, + "Statistic.CampaignOverviewEditType": { + "type": "string", + "enum": [ + "full", + "unknown" + ] + }, + "Statistic.CampaignOverviewIDType": { + "type": "string", + "enum": [ + "Campaign", + "AX", + "NL" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetContactStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.ContactStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.ContactStatistic": { + "type": "object", + "properties": { + "BlockedCount": { + "type": "integer" + }, + "BouncedCount": { + "type": "integer" + }, + "ClickedCount": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "DeferredCount": { + "type": "integer" + }, + "DeliveredCount": { + "type": "integer" + }, + "HardbouncedCount": { + "type": "integer" + }, + "LastActivityAt": { + "type": "string" + }, + "MarketingContacts": { + "type": "integer" + }, + "OpenedCount": { + "type": "integer" + }, + "ProcessedCount": { + "type": "integer" + }, + "QueuedCount": { + "type": "integer" + }, + "SoftbouncedCount": { + "type": "integer" + }, + "SpamComplaintCount": { + "type": "integer" + }, + "UnsubscribedCount": { + "type": "integer" + }, + "UserMarketingContacts": { + "type": "integer" + }, + "WorkFlowExitedCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "BlockedCount", + "BouncedCount", + "ClickedCount", + "ContactID", + "DeferredCount", + "DeliveredCount", + "HardbouncedCount", + "LastActivityAt", + "MarketingContacts", + "OpenedCount", + "ProcessedCount", + "QueuedCount", + "SoftbouncedCount", + "SpamComplaintCount", + "UnsubscribedCount", + "UserMarketingContacts", + "WorkFlowExitedCount" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetGEOStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.GEOStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.GEOStatistic": { + "type": "object", + "properties": { + "ClickedCount": { + "type": "integer" + }, + "OpenedCount": { + "type": "integer" + }, + "Country": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ClickedCount", + "Country", + "OpenedCount" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetListRecipientStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.ListRecipientStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.ListRecipientStatistic": { + "type": "object", + "properties": { + "Data": { + "$ref": "#/definitions/Data" + }, + "BlockedCount": { + "type": "integer" + }, + "BouncedCount": { + "type": "integer" + }, + "ClickedCount": { + "type": "integer" + }, + "DeferredCount": { + "type": "integer" + }, + "DeliveredCount": { + "type": "integer" + }, + "HardbouncedCount": { + "type": "integer" + }, + "LastActivityAt": { + "type": "string" + }, + "ListRecipientID": { + "type": "integer" + }, + "OpenedCount": { + "type": "integer" + }, + "PreQueuedCount": { + "type": "integer" + }, + "ProcessedCount": { + "type": "integer" + }, + "QueuedCount": { + "type": "integer" + }, + "SoftbouncedCount": { + "type": "integer" + }, + "SpamComplaintCount": { + "type": "integer" + }, + "UnsubscribedCount": { + "type": "integer" + }, + "WorkFlowExitedCount": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "BlockedCount", + "BouncedCount", + "ClickedCount", + "Data", + "DeferredCount", + "DeliveredCount", + "HardbouncedCount", + "LastActivityAt", + "ListRecipientID", + "OpenedCount", + "PreQueuedCount", + "ProcessedCount", + "QueuedCount", + "SoftbouncedCount", + "SpamComplaintCount", + "UnsubscribedCount", + "WorkFlowExitedCount" + ] + }, + "Data": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetStatCountersResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.StatCounter" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.StatCounter": { + "type": "object", + "properties": { + "APIKeyID": { + "type": "integer" + }, + "EventClickDelay": { + "type": "integer" + }, + "EventClickedCount": { + "type": "integer" + }, + "EventOpenDelay": { + "type": "integer" + }, + "EventOpenedCount": { + "type": "integer" + }, + "EventSpamCount": { + "type": "integer" + }, + "EventUnsubscribedCount": { + "type": "integer" + }, + "EventWorkflowExitedCount": { + "type": "integer" + }, + "MessageBlockedCount": { + "type": "integer" + }, + "MessageClickedCount": { + "type": "integer" + }, + "MessageDeferredCount": { + "type": "integer" + }, + "MessageHardBouncedCount": { + "type": "integer" + }, + "MessageOpenedCount": { + "type": "integer" + }, + "MessageQueuedCount": { + "type": "integer" + }, + "MessageSentCount": { + "type": "integer" + }, + "MessageSoftBouncedCount": { + "type": "integer" + }, + "MessageSpamCount": { + "type": "integer" + }, + "MessageUnsubscribedCount": { + "type": "integer" + }, + "MessageWorkFlowExitedCount": { + "type": "integer" + }, + "SourceID": { + "type": "integer" + }, + "Timeslice": { + "type": "string" + }, + "Total": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "EventClickDelay", + "EventClickedCount", + "EventOpenDelay", + "EventOpenedCount", + "EventSpamCount", + "EventUnsubscribedCount", + "EventWorkflowExitedCount", + "MessageBlockedCount", + "MessageClickedCount", + "MessageDeferredCount", + "MessageHardBouncedCount", + "MessageOpenedCount", + "MessageQueuedCount", + "MessageSentCount", + "MessageSoftBouncedCount", + "MessageSpamCount", + "MessageUnsubscribedCount", + "MessageWorkFlowExitedCount", + "SourceID", + "Timeslice", + "Total" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetLinkClickStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.LinkClickStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.LinkClickStatistic": { + "type": "object", + "properties": { + "ClickedEventsCount": { + "type": "integer" + }, + "ClickedMessagesCount": { + "type": "integer" + }, + "PositionIndex": { + "type": "integer" + }, + "URL": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ClickedEventsCount", + "ClickedMessagesCount", + "PositionIndex", + "URL" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetRecipientESPStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.RecipientESPStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.RecipientESPStatistic": { + "type": "object", + "properties": { + "AttemptedMessagesCount": { + "type": "integer" + }, + "ClickedMessagesCount": { + "type": "integer" + }, + "DeferredMessagesCount": { + "type": "integer" + }, + "DeliveredMessagesCount": { + "type": "integer" + }, + "HardBouncedMessagesCount": { + "type": "integer" + }, + "ESPName": { + "type": "string" + }, + "OpenedMessagesCount": { + "type": "integer" + }, + "SoftBouncedMessagesCount": { + "type": "integer" + }, + "SpamReportsCount": { + "type": "integer" + }, + "UnsubscribedMessagesCount": { + "type": "integer" + }, + "OpenRate": { + "type": "integer" + }, + "ClickThroughRate": { + "type": "integer" + }, + "SoftBouncedRate": { + "type": "integer" + }, + "HardBouncedRate": { + "type": "integer" + }, + "UnsubscribedRate": { + "type": "integer" + }, + "SpamReportsRate": { + "type": "integer" + }, + "DeferredRate": { + "type": "integer" + } + }, + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetTopLinkClickedResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.TopLinkClicked" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.TopLinkClicked": { + "type": "object", + "properties": { + "ClickedCount": { + "type": "integer" + }, + "LinkId": { + "type": "integer" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ClickedCount", + "LinkId", + "Url" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Statistic.GetUserAgentStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Statistic.UserAgentStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Statistic.UserAgentStatistic": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "DistinctCount": { + "type": "integer" + }, + "Platform": { + "type": "string" + }, + "UserAgent": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Count", + "DistinctCount", + "Platform", + "UserAgent" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MessageEvent.GetBounceStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/MessageEvent.BounceStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "MessageEvent.BounceStatistic": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "BouncedAt": { + "type": "string" + }, + "CampaignID": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "IsBlocked": { + "type": "boolean" + }, + "IsStatePermanent": { + "type": "boolean" + }, + "StateID": { + "$ref": "#/definitions/Message.MessageState" + } + }, + "additionalProperties": false, + "required": [ + "BouncedAt", + "CampaignID", + "ContactID", + "ID", + "IsBlocked", + "IsStatePermanent", + "StateID" + ] + }, + "Message.MessageState": { + "type": "number", + "enum": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21 + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MessageEvent.GetClickStatisticsResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/MessageEvent.ClickStatistic" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "MessageEvent.ClickStatistic": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ClickedAt": { + "type": "string" + }, + "ClickedDelay": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "MessageID": { + "type": "integer" + }, + "Url": { + "type": "string" + }, + "UserAgentID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "ClickedAt", + "ClickedDelay", + "ContactID", + "ID", + "MessageID", + "Url", + "UserAgentID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MessageEvent.GetOpenInformationResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/MessageEvent.OpenInformation" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "MessageEvent.OpenInformation": { + "type": "object", + "properties": { + "ArrivedAt": { + "type": "string" + }, + "CampaignID": { + "type": "integer" + }, + "ContactID": { + "type": "integer" + }, + "MessageID": { + "type": "integer" + }, + "OpenedAt": { + "type": "string" + }, + "UserAgentFull": { + "type": "string" + }, + "UserAgentID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "ArrivedAt", + "CampaignID", + "ContactID", + "MessageID", + "OpenedAt", + "UserAgentFull", + "UserAgentID" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "EventCallbackUrlResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook.EventCallbackUrl" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Webhook.EventCallbackUrl": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EventType": { + "$ref": "#/definitions/Webhook.EventType" + }, + "IsBackup": { + "type": "boolean" + }, + "Status": { + "$ref": "#/definitions/Webhook.Status" + }, + "APIKeyID": { + "type": "integer" + }, + "Version": { + "$ref": "#/definitions/Webhook.Version" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "EventType", + "ID", + "IsBackup", + "Status", + "Url", + "Version" + ] + }, + "Webhook.EventType": { + "type": "string", + "enum": [ + "open", + "click", + "bounce", + "spam", + "blocked", + "unsub", + "sent" + ] + }, + "Webhook.Status": { + "type": "string", + "enum": [ + "dead", + "alive" + ] + }, + "Webhook.Version": { + "enum": [ + 1, + 2 ], + "type": "number" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Webhook.PostEventCallbackUrlResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook.EventCallbackUrl" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Webhook.EventCallbackUrl": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EventType": { + "$ref": "#/definitions/Webhook.EventType" + }, + "IsBackup": { + "type": "boolean" + }, + "Status": { + "$ref": "#/definitions/Webhook.Status" + }, + "APIKeyID": { + "type": "integer" + }, + "Version": { + "$ref": "#/definitions/Webhook.Version" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "EventType", + "ID", + "IsBackup", + "Status", + "Url", + "Version" + ] + }, + "Webhook.EventType": { + "type": "string", + "enum": [ + "open", + "click", + "bounce", + "spam", + "blocked", + "unsub", + "sent" + ] + }, + "Webhook.Status": { + "type": "string", + "enum": [ + "dead", + "alive" + ] + }, + "Webhook.Version": { + "enum": [ + 1, + 2 + ], + "type": "number" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Webhook.PutEventCallbackUrlResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook.EventCallbackUrl" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Webhook.EventCallbackUrl": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EventType": { + "$ref": "#/definitions/Webhook.EventType" + }, + "IsBackup": { + "type": "boolean" + }, + "Status": { + "$ref": "#/definitions/Webhook.Status" + }, + "APIKeyID": { + "type": "integer" + }, + "Version": { + "$ref": "#/definitions/Webhook.Version" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "EventType", + "ID", + "IsBackup", + "Status", + "Url", + "Version" + ] + }, + "Webhook.EventType": { + "type": "string", + "enum": [ + "open", + "click", + "bounce", + "spam", + "blocked", + "unsub", + "sent" + ] + }, + "Webhook.Status": { + "type": "string", + "enum": [ + "dead", + "alive" + ] + }, + "Webhook.Version": { + "enum": [ + 1, + 2 + ], + "type": "number" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Webhook.GetEventCallbackUrlResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Webhook.EventCallbackUrl" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Webhook.EventCallbackUrl": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EventType": { + "$ref": "#/definitions/Webhook.EventType" + }, + "IsBackup": { + "type": "boolean" + }, + "Status": { + "$ref": "#/definitions/Webhook.Status" + }, + "APIKeyID": { + "type": "integer" + }, + "Version": { + "$ref": "#/definitions/Webhook.Version" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "EventType", + "ID", + "IsBackup", + "Status", + "Url", + "Version" + ] + }, + "Webhook.EventType": { + "type": "string", + "enum": [ + "open", + "click", + "bounce", + "spam", + "blocked", + "unsub", + "sent" + ] + }, + "Webhook.Status": { + "type": "string", + "enum": [ + "dead", + "alive" + ] + }, + "Webhook.Version": { + "enum": [ + 1, + 2 + ], + "type": "number" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ParseRouteResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Parse.ParseRoute" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Parse.ParseRoute": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "APIKeyID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "Email", + "ID", + "Url" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Parse.PostParseRouteResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Parse.ParseRoute" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Parse.ParseRoute": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "APIKeyID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "Email", + "ID", + "Url" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Parse.PutParseRouteResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Parse.ParseRoute" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Parse.ParseRoute": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "APIKeyID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "Email", + "ID", + "Url" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Parse.GetParseRouteResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Parse.ParseRoute" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Parse.ParseRoute": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "APIKeyID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Url": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "APIKeyID", + "Email", + "ID", + "Url" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Sender.Sender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Sender.Sender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EmailType": { + "$ref": "#/definitions/Sender.EmailType" + }, + "IsDefaultSender": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DNSID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Sender.SenderStatus" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DNSID", + "Email", + "EmailType", + "Filename", + "ID", + "IsDefaultSender", + "Name", + "Status" + ] + }, + "Sender.EmailType": { + "type": "string", + "enum": [ + "transactional", + "bulk", + "unknown" + ] + }, + "Sender.SenderStatus": { + "type": "string", + "enum": [ + "Inactive", + "Active", + "Deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Sender.PostSenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Sender.Sender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Sender.Sender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EmailType": { + "$ref": "#/definitions/Sender.EmailType" + }, + "IsDefaultSender": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DNSID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Sender.SenderStatus" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DNSID", + "Email", + "EmailType", + "Filename", + "ID", + "IsDefaultSender", + "Name", + "Status" + ] + }, + "Sender.EmailType": { + "type": "string", + "enum": [ + "transactional", + "bulk", + "unknown" + ] + }, + "Sender.SenderStatus": { + "type": "string", + "enum": [ + "Inactive", + "Active", + "Deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Sender.PutSenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Sender.Sender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Sender.Sender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EmailType": { + "$ref": "#/definitions/Sender.EmailType" + }, + "IsDefaultSender": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DNSID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Sender.SenderStatus" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DNSID", + "Email", + "EmailType", + "Filename", + "ID", + "IsDefaultSender", + "Name", + "Status" + ] + }, + "Sender.EmailType": { + "type": "string", + "enum": [ + "transactional", + "bulk", + "unknown" + ] + }, + "Sender.SenderStatus": { + "type": "string", + "enum": [ + "Inactive", + "Active", + "Deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Sender.GetSenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Sender.Sender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Sender.Sender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "EmailType": { + "$ref": "#/definitions/Sender.EmailType" + }, + "IsDefaultSender": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "DNSID": { + "type": "integer" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/Sender.SenderStatus" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "DNSID", + "Email", + "EmailType", + "Filename", + "ID", + "IsDefaultSender", + "Name", + "Status" + ] + }, + "Sender.EmailType": { + "type": "string", + "enum": [ + "transactional", + "bulk", + "unknown" + ] + }, + "Sender.SenderStatus": { + "type": "string", + "enum": [ + "Inactive", + "Active", + "Deleted" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Sender.PostSenderValidateResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Sender.SenderValidate" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Sender.SenderValidate": { + "type": "object", + "properties": { + "ValidationMethod": { + "type": "string" + }, + "Errors": { + "type": "string" + }, + "GlobalError": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Errors", + "GlobalError", + "ValidationMethod" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MetaSenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Metasender.MetaSender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Metasender.MetaSender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "IsEnabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "Description", + "Email", + "Filename", + "ID", + "IsEnabled" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Metasender.PostMetaSenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Metasender.MetaSender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Metasender.MetaSender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "IsEnabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "Description", + "Email", + "Filename", + "ID", + "IsEnabled" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Metasender.PutMetaSenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Metasender.MetaSender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Metasender.MetaSender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "IsEnabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "Description", + "Email", + "Filename", + "ID", + "IsEnabled" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "Metasender.GetMetaSenderResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/Metasender.MetaSender" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "Metasender.MetaSender": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "Description": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "Email": { + "type": "string" + }, + "Filename": { + "type": "string" + }, + "IsEnabled": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "CreatedAt", + "Description", + "Email", + "Filename", + "ID", + "IsEnabled" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DNS.GetDNSResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DNS.DNS" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DNS.DNS": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "DKIMRecordName": { + "type": "string" + }, + "DKIMRecordValue": { + "type": "string" + }, + "DKIMStatus": { + "$ref": "#/definitions/DNS.DKIMConfigurationCheckStatus" + }, + "Domain": { + "type": "string" + }, + "IsCheckInProgress": { + "type": "boolean" + }, + "LastCheckAt": { + "type": "string" + }, + "OwnerShipToken": { + "type": "string" + }, + "OwnerShipTokenRecordName": { + "type": "string" + }, + "SPFRecordValue": { + "type": "string" + }, + "SPFStatus": { + "$ref": "#/definitions/DNS.SPFConfigurationCheckStatus" + } + }, + "additionalProperties": false, + "required": [ + "DKIMRecordName", + "DKIMRecordValue", + "DKIMStatus", + "Domain", + "ID", + "IsCheckInProgress", + "LastCheckAt", + "OwnerShipToken", + "OwnerShipTokenRecordName", + "SPFRecordValue", + "SPFStatus" + ] + }, + "DNS.DKIMConfigurationCheckStatus": { + "type": "string", + "enum": [ + "OK", + "Error", + "Not checked" + ] + }, + "DNS.SPFConfigurationCheckStatus": { + "type": "string", + "enum": [ + "OK", + "Error", + "Not checked", + "Not found" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "DNS.PostDNSCheckResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/DNS.DNSCheck" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "DNS.DNSCheck": { + "type": "object", + "properties": { + "DKIMErrors": { + "type": "string" + }, + "DKIMRecordCurrentValue": { + "type": "string" + }, + "DKIMStatus": { + "$ref": "#/definitions/DNS.DKIMConfigurationStatus" + }, + "SPFErrors": { + "type": "string" + }, + "SPFRecordCurrentValue": { + "type": "string" + }, + "SPFStatus": { + "$ref": "#/definitions/DNS.SPFConfigurationStatus" + } + }, + "additionalProperties": false, + "required": [ + "DKIMErrors", + "DKIMRecordCurrentValue", + "DKIMStatus", + "SPFErrors", + "SPFRecordCurrentValue", + "SPFStatus" + ] + }, + "DNS.DKIMConfigurationStatus": { + "type": "string", + "enum": [ + "OK", + "Error" + ] + }, + "DNS.SPFConfigurationStatus": { + "type": "string", + "enum": [ + "OK", + "Error" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.RunLevel": { + "type": "string", + "enum": [ + "Normal", + "Softlock", + "Hardlock" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.ApiKey": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { "type": "string" + }, + "IsActive": { + "type": "boolean" + }, + "APIKey": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "IsMaster": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "QuarantineValue": { + "type": "integer" + }, + "Runlevel": { + "$ref": "#/definitions/APIKeyConfiguration.RunLevel" + }, + "SecretKey": { + "type": "string" + }, + "TrackHost": { + "type": "string" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "APIKey", + "CreatedAt", + "ID", + "IsActive", + "IsMaster", + "Name", + "QuarantineValue", + "Runlevel", + "SecretKey", + "TrackHost", + "UserID" + ], + "definitions": { + "APIKeyConfiguration.RunLevel": { + "type": "string", + "enum": [ + "Normal", + "Softlock", + "Hardlock" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.PostApiKeyBody": { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "ACL": { + "type": "string" + }, + "IsActive": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "Name" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.PutApiKeyBody": { + "type": "object", + "properties": { + "Name": { + "type": "string" + }, + "ACL": { + "type": "string" + }, + "IsActive": { + "type": "boolean" + } + }, + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.GetApiKeyQueryParams": { + "additionalProperties": false, + "type": "object", + "properties": { + "countOnly": { + "type": "boolean" + }, + "Limit": { + "type": "integer" + }, + "Offset": { + "type": "integer" + }, + "Sort": { + "type": "string" + }, + "APIKey": { + "type": "string" + }, + "IsActive": { + "type": "boolean" + }, + "IsMaster": { + "type": "boolean" + }, + "Name": { + "type": "string" + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ApiKeyResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/APIKeyConfiguration.ApiKey" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "APIKeyConfiguration.ApiKey": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { + "type": "string" + }, + "IsActive": { + "type": "boolean" + }, + "APIKey": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "IsMaster": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "QuarantineValue": { + "type": "integer" + }, + "Runlevel": { + "$ref": "#/definitions/APIKeyConfiguration.RunLevel" + }, + "SecretKey": { + "type": "string" + }, + "TrackHost": { + "type": "string" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "APIKey", + "CreatedAt", + "ID", + "IsActive", + "IsMaster", + "Name", + "QuarantineValue", + "Runlevel", + "SecretKey", + "TrackHost", + "UserID" + ] + }, + "APIKeyConfiguration.RunLevel": { + "type": "string", + "enum": [ + "Normal", + "Softlock", + "Hardlock" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.PostApiKeyResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/APIKeyConfiguration.ApiKey" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "APIKeyConfiguration.ApiKey": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { + "type": "string" + }, + "IsActive": { + "type": "boolean" + }, + "APIKey": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "IsMaster": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "QuarantineValue": { + "type": "integer" + }, + "Runlevel": { + "$ref": "#/definitions/APIKeyConfiguration.RunLevel" + }, + "SecretKey": { + "type": "string" + }, + "TrackHost": { + "type": "string" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "APIKey", + "CreatedAt", + "ID", + "IsActive", + "IsMaster", + "Name", + "QuarantineValue", + "Runlevel", + "SecretKey", + "TrackHost", + "UserID" + ] + }, + "APIKeyConfiguration.RunLevel": { + "type": "string", + "enum": [ + "Normal", + "Softlock", + "Hardlock" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.PutApiKeyResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/APIKeyConfiguration.ApiKey" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "APIKeyConfiguration.ApiKey": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { + "type": "string" + }, + "IsActive": { + "type": "boolean" + }, + "APIKey": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "IsMaster": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "QuarantineValue": { + "type": "integer" + }, + "Runlevel": { + "$ref": "#/definitions/APIKeyConfiguration.RunLevel" + }, + "SecretKey": { + "type": "string" + }, + "TrackHost": { + "type": "string" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "APIKey", + "CreatedAt", + "ID", + "IsActive", + "IsMaster", + "Name", + "QuarantineValue", + "Runlevel", + "SecretKey", + "TrackHost", + "UserID" + ] + }, + "APIKeyConfiguration.RunLevel": { + "type": "string", + "enum": [ + "Normal", + "Softlock", + "Hardlock" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "APIKeyConfiguration.GetApiKeyResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/APIKeyConfiguration.ApiKey" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "APIKeyConfiguration.ApiKey": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { + "type": "string" + }, + "IsActive": { + "type": "boolean" + }, + "APIKey": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "IsMaster": { + "type": "boolean" + }, + "Name": { + "type": "string" + }, + "QuarantineValue": { + "type": "integer" + }, + "Runlevel": { + "$ref": "#/definitions/APIKeyConfiguration.RunLevel" + }, + "SecretKey": { + "type": "string" + }, + "TrackHost": { + "type": "string" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "APIKey", + "CreatedAt", + "ID", + "IsActive", + "IsMaster", + "Name", + "QuarantineValue", + "Runlevel", + "SecretKey", + "TrackHost", + "UserID" + ] + }, + "APIKeyConfiguration.RunLevel": { + "type": "string", + "enum": [ + "Normal", + "Softlock", + "Hardlock" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "MyProfileResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountSetting.MyProfile" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "AccountSetting.MyProfile": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "AddressCity": { + "type": "string" + }, + "AddressCountry": { + "type": "string" + }, + "AddressPostalCode": { + "type": "string" + }, + "AddressState": { + "type": "string" + }, + "AddressStreet": { + "type": "string" + }, + "BillingEmail": { + "type": "string" + }, + "BirthdayAt": { + "type": "string" + }, + "CompanyName": { + "type": "string" + }, + "CompanyNumOfEmployees": { + "type": "string" + }, + "ContactPhone": { + "type": "string" + }, + "EstimatedVolume": { + "type": "integer" + }, + "Features": { + "type": "string" + }, + "Firstname": { + "type": "string" + }, + "Industry": { + "type": "integer" + }, + "JobTitle": { + "type": "string" + }, + "Lastname": { + "type": "string" + }, + "VATNumber": { + "type": "string" + }, + "Website": { + "type": "string" + }, + "VAT": { + "type": "integer" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "AddressCity", + "AddressCountry", + "AddressPostalCode", + "AddressState", + "AddressStreet", + "BillingEmail", + "BirthdayAt", + "CompanyName", + "CompanyNumOfEmployees", + "ContactPhone", + "EstimatedVolume", + "Features", + "Firstname", + "ID", + "Industry", + "JobTitle", + "Lastname", + "UserID", + "VAT", + "VATNumber", + "Website" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "UserResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountSetting.User" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "AccountSetting.User": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { + "type": "string" + }, + "Email": { + "type": "string" + }, + "LastLoginAt": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "Timezone": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "FirstIp": { + "type": "string" + }, + "LastIp": { + "type": "string" + }, + "MaxAllowedAPIKeys": { + "type": "integer" + }, + "Username": { + "type": "string" + }, + "WarnedRatelimitAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "CreatedAt", + "Email", + "FirstIp", + "ID", + "LastIp", + "LastLoginAt", + "Locale", + "MaxAllowedAPIKeys", + "Timezone", + "Username", + "WarnedRatelimitAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AccountSetting.PutMyProfileResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountSetting.MyProfile" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "AccountSetting.MyProfile": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "AddressCity": { + "type": "string" + }, + "AddressCountry": { + "type": "string" + }, + "AddressPostalCode": { + "type": "string" + }, + "AddressState": { + "type": "string" + }, + "AddressStreet": { + "type": "string" + }, + "BillingEmail": { + "type": "string" + }, + "BirthdayAt": { + "type": "string" + }, + "CompanyName": { + "type": "string" + }, + "CompanyNumOfEmployees": { + "type": "string" + }, + "ContactPhone": { + "type": "string" + }, + "EstimatedVolume": { + "type": "integer" + }, + "Features": { + "type": "string" + }, + "Firstname": { + "type": "string" + }, + "Industry": { + "type": "integer" + }, + "JobTitle": { + "type": "string" + }, + "Lastname": { + "type": "string" + }, + "VATNumber": { + "type": "string" + }, + "Website": { + "type": "string" + }, + "VAT": { + "type": "integer" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "AddressCity", + "AddressCountry", + "AddressPostalCode", + "AddressState", + "AddressStreet", + "BillingEmail", + "BirthdayAt", + "CompanyName", + "CompanyNumOfEmployees", + "ContactPhone", + "EstimatedVolume", + "Features", + "Firstname", + "ID", + "Industry", + "JobTitle", + "Lastname", + "UserID", + "VAT", + "VATNumber", + "Website" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AccountSetting.GetMyProfileResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountSetting.MyProfile" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "AccountSetting.MyProfile": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "AddressCity": { + "type": "string" + }, + "AddressCountry": { + "type": "string" + }, + "AddressPostalCode": { + "type": "string" + }, + "AddressState": { + "type": "string" + }, + "AddressStreet": { + "type": "string" + }, + "BillingEmail": { + "type": "string" + }, + "BirthdayAt": { + "type": "string" + }, + "CompanyName": { + "type": "string" + }, + "CompanyNumOfEmployees": { + "type": "string" + }, + "ContactPhone": { + "type": "string" + }, + "EstimatedVolume": { + "type": "integer" + }, + "Features": { + "type": "string" + }, + "Firstname": { + "type": "string" + }, + "Industry": { + "type": "integer" + }, + "JobTitle": { + "type": "string" + }, + "Lastname": { + "type": "string" + }, + "VATNumber": { + "type": "string" + }, + "Website": { + "type": "string" + }, + "VAT": { + "type": "integer" + }, + "UserID": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "AddressCity", + "AddressCountry", + "AddressPostalCode", + "AddressState", + "AddressStreet", + "BillingEmail", + "BirthdayAt", + "CompanyName", + "CompanyNumOfEmployees", + "ContactPhone", + "EstimatedVolume", + "Features", + "Firstname", + "ID", + "Industry", + "JobTitle", + "Lastname", + "UserID", + "VAT", + "VATNumber", + "Website" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AccountSetting.PutUserResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountSetting.User" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "AccountSetting.User": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { + "type": "string" + }, + "Email": { + "type": "string" + }, + "LastLoginAt": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "Timezone": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "FirstIp": { + "type": "string" + }, + "LastIp": { + "type": "string" + }, + "MaxAllowedAPIKeys": { + "type": "integer" + }, + "Username": { + "type": "string" + }, + "WarnedRatelimitAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "CreatedAt", + "Email", + "FirstIp", + "ID", + "LastIp", + "LastLoginAt", + "Locale", + "MaxAllowedAPIKeys", + "Timezone", + "Username", + "WarnedRatelimitAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "AccountSetting.GetUserResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + }, + "Total": { + "type": "integer" + }, + "Data": { + "type": "array", + "items": { + "$ref": "#/definitions/AccountSetting.User" + } + } + }, + "additionalProperties": false, + "required": [ + "Count", + "Data", + "Total" + ], + "definitions": { + "AccountSetting.User": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "ACL": { + "type": "string" + }, + "Email": { + "type": "string" + }, + "LastLoginAt": { + "type": "string" + }, + "Locale": { + "type": "string" + }, + "Timezone": { + "type": "string" + }, + "CreatedAt": { + "type": "string" + }, + "FirstIp": { + "type": "string" + }, + "LastIp": { + "type": "string" + }, + "MaxAllowedAPIKeys": { + "type": "integer" + }, + "Username": { + "type": "string" + }, + "WarnedRatelimitAt": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ACL", + "CreatedAt", + "Email", + "FirstIp", + "ID", + "LastIp", + "LastLoginAt", + "Locale", + "MaxAllowedAPIKeys", + "Timezone", + "Username", + "WarnedRatelimitAt" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SendMessage.Response": { + "type": "object", + "properties": { + "From": { + "type": "string" + }, + "To": { + "type": "string" + }, + "Text": { + "type": "string" + }, + "MessageID": { + "type": [ + "string", + "integer" + ] + }, + "SMSCount": { + "type": "integer" + }, + "CreationTS": { + "type": "integer" + }, + "SentTS": { + "type": "integer" + }, + "Cost": { + "$ref": "#/definitions/SendMessage.Cost" + }, + "Status": { + "$ref": "#/definitions/SendMessage.SendStatus" + } + }, + "additionalProperties": false, + "required": [ + "Cost", + "CreationTS", + "From", + "MessageID", + "SMSCount", + "SentTS", + "Status", + "Text", + "To" + ], + "definitions": { + "SendMessage.Cost": { + "type": "object", + "properties": { + "Value": { + "type": "integer" + }, + "Currency": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Currency", + "Value" + ] + }, + "SendMessage.SendStatus": { + "type": "object", + "properties": { + "Code": { + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Code", + "Description", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SMSMessage.PostSMSExportResponse": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "URL": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/SendMessage.SendStatus" + }, + "CreationTS": { + "type": "integer" + }, + "ExpirationTS": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "CreationTS", + "ExpirationTS", + "ID", + "Status", + "URL" + ], + "definitions": { + "SendMessage.SendStatus": { + "type": "object", + "properties": { + "Code": { + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Code", + "Description", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SMSMessage.GetSMSExportResponse": { + "type": "object", + "properties": { + "ID": { + "type": "integer" + }, + "URL": { + "type": "string" + }, + "Status": { + "$ref": "#/definitions/SendMessage.SendStatus" + }, + "CreationTS": { + "type": "integer" + }, + "ExpirationTS": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "CreationTS", + "ExpirationTS", + "ID", + "Status", + "URL" + ], + "definitions": { + "SendMessage.SendStatus": { + "type": "object", + "properties": { + "Code": { + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Code", + "Description", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SMSMessage.GetSMSResponse": { + "type": "object", + "properties": { + "Data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "From": { + "type": "string" + }, + "To": { + "type": "string" + }, + "MessageID": { + "type": [ + "string", + "integer" + ] + }, + "SMSCount": { + "type": "integer" + }, + "CreationTS": { + "type": "integer" + }, + "SentTS": { + "type": "integer" + }, + "Cost": { + "$ref": "#/definitions/SendMessage.Cost" + }, + "Status": { + "$ref": "#/definitions/SendMessage.SendStatus" + } + }, + "additionalProperties": false, + "required": [ + "Cost", + "CreationTS", + "From", + "MessageID", + "SMSCount", + "SentTS", + "Status", + "To" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "Data" + ], + "definitions": { + "SendMessage.Cost": { + "type": "object", + "properties": { + "Value": { + "type": "integer" + }, + "Currency": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Currency", + "Value" + ] + }, + "SendMessage.SendStatus": { + "type": "object", + "properties": { + "Code": { + "type": "integer" + }, + "Name": { + "type": "string" + }, + "Description": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "Code", + "Description", + "Name" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "SMSMessage.GetSMSCountResponse": { + "type": "object", + "properties": { + "Count": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "Count" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "FieldErrorResponse": { + "type": "object", + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "errors": { + "$ref": "#/definitions/Record" + } + }, + "additionalProperties": false, + "required": [ + "code", + "errors", + "message" + ], + "definitions": { + "Record": { + "type": "object", + "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#" @@ -8963,9 +25631,7 @@ "additionalProperties": false }, "intents": { - "type": "number", - "properties": {}, - "additionalProperties": false + "type": "bigint" }, "presence": { "$ref": "#/definitions/ActivitySchema" @@ -8984,9 +25650,7 @@ "maxItems": 2, "type": "array", "items": { - "type": "number", - "properties": {}, - "additionalProperties": false + "type": "bigint" } }, "guild_subscriptions": { @@ -9562,16 +26226,30 @@ } }, "sticker_ids": { - "type": "array", - "items": { - "type": "string" - } + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] }, "components": { - "type": "array", - "items": { - "$ref": "#/definitions/ActionRowComponent" - } + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + { + "type": "null" + } + ] }, "poll": { "$ref": "#/definitions/PollCreationSchema" @@ -10182,52 +26860,6 @@ "content": { "type": "string" }, - "attachments": { - "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion", - "type": "array", - "items": { - "anyOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "filename": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "filename", - "id" - ] - }, - { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "uploaded_filename": { - "type": "string" - }, - "original_content_type": { - "type": "string" - } - }, - "additionalProperties": false, - "required": [ - "filename", - "uploaded_filename" - ] - } - ] - } - }, "mobile_network_type": { "type": "string" }, @@ -10294,17 +26926,77 @@ "payload_json": { "type": "string" }, - "sticker_ids": { + "attachments": { + "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion", "type": "array", "items": { - "type": "string" + "anyOf": [ + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "filename": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "id" + ] + }, + { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "uploaded_filename": { + "type": "string" + }, + "original_content_type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "filename", + "uploaded_filename" + ] + } + ] } }, + "sticker_ids": { + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "null" + } + ] + }, "components": { - "type": "array", - "items": { - "$ref": "#/definitions/ActionRowComponent" - } + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ActionRowComponent" + } + }, + { + "type": "null" + } + ] }, "poll": { "$ref": "#/definitions/PollCreationSchema" @@ -11058,24 +27750,67240 @@ ], "$schema": "http://json-schema.org/draft-07/schema#" }, + "ts.server.protocol.Response": { + "description": "Response by server to client request message.", + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.StatusResponse": { + "description": "Response to StatusRequest", + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/server.protocol.StatusResponseBody", + "description": "Contains message body if success === true." + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.StatusResponseBody": { + "type": "object", + "properties": { + "version": { + "description": "The TypeScript version (`ts.version`).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "version" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.DocCommandTemplateResponse": { + "description": "Response to DocCommentTemplateRequest", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/TextInsertion" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "TextInsertion": { + "type": "object", + "properties": { + "newText": { + "type": "string" + }, + "caretOffset": { + "description": "The position in newText the caret should point to after the insertion.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "caretOffset", + "newText" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.TodoCommentsResponse": { + "description": "Response for TodoCommentRequest request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/TodoComment" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "TodoComment": { + "type": "object", + "properties": { + "descriptor": { + "$ref": "#/definitions/TodoCommentDescriptor" + }, + "message": { + "type": "string" + }, + "position": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "descriptor", + "message", + "position" + ] + }, + "TodoCommentDescriptor": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "priority": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "priority", + "text" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.OutliningSpansResponse": { + "description": "Response to OutliningSpansRequest request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "textSpan": { + "$ref": "#/definitions/server.protocol.TextSpan", + "description": "The span of the document to actually collapse." + }, + "hintSpan": { + "$ref": "#/definitions/server.protocol.TextSpan", + "description": "The span of the document to display when the user hovers over the collapsed span." + }, + "bannerText": { + "description": "The text to display in the editor for the collapsed region.", + "type": "string" + }, + "autoCollapse": { + "description": "Whether or not this region should be automatically collapsed when\nthe 'Collapse to Definitions' command is invoked.", + "type": "boolean" + }, + "kind": { + "$ref": "#/definitions/ts.OutliningSpanKind", + "description": "Classification of the contents of the span" + } + }, + "additionalProperties": false, + "required": [ + "autoCollapse", + "bannerText", + "hintSpan", + "kind", + "textSpan" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "ts.OutliningSpanKind": { + "type": "string", + "enum": [ + "comment", + "region", + "code", + "imports" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.IndentationResponse": { + "description": "Response for IndentationRequest request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.IndentationResult" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.IndentationResult": { + "description": "Indentation result representing where indentation should be placed", + "type": "object", + "properties": { + "position": { + "description": "The base position in the document that the indent should be relative to", + "type": "integer" + }, + "indentation": { + "description": "The number of columns the indent should be at relative to the position's column.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "indentation", + "position" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ProjectInfoResponse": { + "description": "Response message for \"projectInfo\" request", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.ProjectInfo" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ProjectInfo": { + "description": "Response message body for \"projectInfo\" request", + "type": "object", + "properties": { + "configFileName": { + "description": "For configured project, this is the normalized path of the 'tsconfig.json' file\nFor inferred project, this is undefined", + "type": "string" + }, + "fileNames": { + "description": "The list of normalized file name in the project, including 'lib.d.ts'", + "type": "array", + "items": { + "type": "string" + } + }, + "languageServiceDisabled": { + "description": "Indicates if the project has a active language service instance", + "type": "boolean" + }, + "configuredProjectInfo": { + "description": "Information about default project", + "$ref": "#/definitions/server.protocol.DefaultConfiguredProjectInfo" + } + }, + "additionalProperties": false, + "required": [ + "configFileName" + ] + }, + "server.protocol.DefaultConfiguredProjectInfo": { + "description": "Details about the default project for the file if tsconfig file is found", + "type": "object", + "properties": { + "notMatchedByConfig": { + "description": "List of config files looked and did not match because file was not part of root file names", + "type": "array", + "items": { + "type": "string" + } + }, + "notInProject": { + "description": "List of projects which were loaded but file was not part of the project or is file from referenced project", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultProject": { + "description": "Configured project used as default", + "type": "string" + } + }, + "additionalProperties": false + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.GetApplicableRefactorsResponse": { + "description": "Response is a list of available refactorings.\nEach refactoring exposes one or more \"Actions\"; a user selects one action to invoke a refactoring", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/ApplicableRefactorInfo" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "ApplicableRefactorInfo": { + "description": "A set of one or more available refactoring actions, grouped under a parent refactoring.", + "type": "object", + "properties": { + "name": { + "description": "The programmatic name of the refactoring", + "type": "string" + }, + "description": { + "description": "A description of this refactoring category to show to the user.\nIf the refactoring gets inlined (see below), this text will not be visible.", + "type": "string" + }, + "inlineable": { + "description": "Inlineable refactorings can have their actions hoisted out to the top level\nof a context menu. Non-inlineanable refactorings should always be shown inside\ntheir parent grouping.\n\nIf not specified, this value is assumed to be 'true'", + "type": "boolean" + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/definitions/RefactorActionInfo" + } + } + }, + "additionalProperties": false, + "required": [ + "actions", + "description", + "name" + ] + }, + "RefactorActionInfo": { + "description": "Represents a single refactoring action - for example, the \"Extract Method...\" refactor might\noffer several actions, each corresponding to a surround class or closure to extract into.", + "type": "object", + "properties": { + "name": { + "description": "The programmatic name of the refactoring action", + "type": "string" + }, + "description": { + "description": "A description of this refactoring action to show to the user.\nIf the parent refactoring is inlined away, this will be the only text shown,\nso this description should make sense by itself if the parent is inlineable=true", + "type": "string" + }, + "notApplicableReason": { + "description": "A message to show to the user if the refactoring cannot be applied in\nthe current context.", + "type": "string" + }, + "kind": { + "description": "The hierarchical dotted name of the refactor action.", + "type": "string" + }, + "isInteractive": { + "description": "Indicates that the action requires additional arguments to be passed\nwhen calling `getEditsForRefactor`.", + "type": "boolean" + }, + "range": { + "description": "Range of code the refactoring will be applied to.", + "type": "object", + "properties": { + "start": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "end": { + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + } + }, + "additionalProperties": false, + "required": [ + "description", + "name" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.PreparePasteEditsResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "boolean" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.GetPasteEditsResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/server.protocol.PasteEditsAction", + "description": "Contains message body if success === true." + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PasteEditsAction": { + "type": "object", + "properties": { + "edits": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "fixId": { + "type": "object", + "properties": {} + } + }, + "additionalProperties": false, + "required": [ + "edits" + ] + }, + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.GetEditsForRefactorResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.RefactorEditInfo" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.RefactorEditInfo": { + "type": "object", + "properties": { + "edits": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "renameLocation": { + "description": "An optional location where the editor should start a rename operation once\nthe refactoring edits have been applied", + "$ref": "#/definitions/server.protocol.Location" + }, + "renameFilename": { + "type": "string" + }, + "notApplicableReason": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "edits" + ] + }, + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.OrganizeImportsResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.GetEditsForFileRenameResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.GetCombinedCodeFixResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/server.protocol.CombinedCodeActions", + "description": "Contains message body if success === true." + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.CombinedCodeActions": { + "type": "object", + "properties": { + "changes": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "commands": { + "type": "array", + "items": { + "type": "object", + "properties": {} + } + } + }, + "additionalProperties": false, + "required": [ + "changes" + ] + }, + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ApplyCodeActionCommandResponse": { + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.GetCodeFixesResponse": { + "description": "Response for GetCodeFixes request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeAction" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.CodeAction": { + "type": "object", + "properties": { + "description": { + "description": "Description of the code action to display in the UI of the editor", + "type": "string" + }, + "changes": { + "description": "Text changes to apply to each file as part of the code action", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "commands": { + "description": "A command is an opaque object that should be passed to `ApplyCodeActionCommandRequestArgs` without modification.", + "type": "array", + "items": { + "type": "object", + "properties": {} + } + } + }, + "additionalProperties": false, + "required": [ + "changes", + "description" + ] + }, + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.GetSupportedCodeFixesResponse": { + "description": "A response for GetSupportedCodeFixesRequest request.", + "type": "object", + "properties": { + "body": { + "description": "List of error codes supported by the server.", + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.EncodedSemanticClassificationsResponse": { + "description": "The response for a EncodedSemanticClassificationsRequest", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.EncodedSemanticClassificationsResponseBody" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.EncodedSemanticClassificationsResponseBody": { + "description": "Implementation response message. Gives series of text spans depending on the format ar.", + "type": "object", + "properties": { + "endOfLineState": { + "$ref": "#/definitions/EndOfLineState" + }, + "spans": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "additionalProperties": false, + "required": [ + "endOfLineState", + "spans" + ] + }, + "EndOfLineState": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.DefinitionAndBoundSpanResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/server.protocol.DefinitionInfoAndBoundSpan", + "description": "Contains message body if success === true." + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.DefinitionInfoAndBoundSpan": { + "type": "object", + "properties": { + "definitions": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DefinitionInfo" + } + }, + "textSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + }, + "additionalProperties": false, + "required": [ + "definitions", + "textSpan" + ] + }, + "server.protocol.DefinitionInfo": { + "type": "object", + "properties": { + "unverified": { + "description": "When true, the file may or may not exist.", + "type": "boolean" + }, + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.DefinitionResponse": { + "description": "Definition response message. Gives text range for definition.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DefinitionInfo" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.DefinitionInfo": { + "type": "object", + "properties": { + "unverified": { + "description": "When true, the file may or may not exist.", + "type": "boolean" + }, + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.DefinitionInfoAndBoundSpanResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.DefinitionInfoAndBoundSpan" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.DefinitionInfoAndBoundSpan": { + "type": "object", + "properties": { + "definitions": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DefinitionInfo" + } + }, + "textSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + }, + "additionalProperties": false, + "required": [ + "definitions", + "textSpan" + ] + }, + "server.protocol.DefinitionInfo": { + "type": "object", + "properties": { + "unverified": { + "description": "When true, the file may or may not exist.", + "type": "boolean" + }, + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.TypeDefinitionResponse": { + "description": "Definition response message. Gives text range for definition.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileSpanWithContext" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.FileSpanWithContext": { + "type": "object", + "properties": { + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ImplementationResponse": { + "description": "Implementation response message. Gives text range for implementations.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileSpanWithContext" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.FileSpanWithContext": { + "type": "object", + "properties": { + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.JsxClosingTagResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/TextInsertion", + "description": "Contains message body if success === true." + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "TextInsertion": { + "type": "object", + "properties": { + "newText": { + "type": "string" + }, + "caretOffset": { + "description": "The position in newText the caret should point to after the insertion.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "caretOffset", + "newText" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.LinkedEditingRangeResponse": { + "type": "object", + "properties": { + "body": { + "$ref": "#/definitions/server.protocol.LinkedEditingRangesBody", + "description": "Contains message body if success === true." + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.LinkedEditingRangesBody": { + "type": "object", + "properties": { + "ranges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + }, + "wordPattern": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "ranges" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.DocumentHighlightsResponse": { + "description": "Response for a DocumentHighlightsRequest request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DocumentHighlightsItem" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.DocumentHighlightsItem": { + "description": "Represents a set of highligh spans for a give name", + "type": "object", + "properties": { + "file": { + "description": "File containing highlight spans.", + "type": "string" + }, + "highlightSpans": { + "description": "Spans to highlight in file.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.HighlightSpan" + } + } + }, + "additionalProperties": false, + "required": [ + "file", + "highlightSpans" + ] + }, + "server.protocol.HighlightSpan": { + "description": "Span augmented with extra information that denotes the kind of the highlighting to be used for span.", + "type": "object", + "properties": { + "kind": { + "$ref": "#/definitions/ts.HighlightSpanKind" + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "kind", + "start" + ] + }, + "ts.HighlightSpanKind": { + "type": "string", + "enum": [ + "none", + "definition", + "reference", + "writtenReference" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ReferencesResponse": { + "description": "Response to \"references\" request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.ReferencesResponseBody" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ReferencesResponseBody": { + "description": "The body of a \"references\" response message.", + "type": "object", + "properties": { + "refs": { + "description": "The file locations referencing the symbol.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ReferencesResponseItem" + } + }, + "symbolName": { + "description": "The name of the symbol.", + "type": "string" + }, + "symbolStartOffset": { + "description": "The start character offset of the symbol (on the line provided by the references request).", + "type": "integer" + }, + "symbolDisplayString": { + "description": "The full display name of the symbol.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "refs", + "symbolDisplayString", + "symbolName", + "symbolStartOffset" + ] + }, + "server.protocol.ReferencesResponseItem": { + "type": "object", + "properties": { + "lineText": { + "description": "Text of line containing the reference. Including this\nwith the response avoids latency of editor loading files\nto show text of reference line (the server already has loaded the referencing files).\n\nIf {@link UserPreferences.disableLineTextInReferences} is enabled, the property won't be filled", + "type": "string" + }, + "isWriteAccess": { + "description": "True if reference is a write location, false otherwise.", + "type": "boolean" + }, + "isDefinition": { + "description": "Present only if the search was triggered from a declaration.\nTrue indicates that the references refers to the same symbol\n(i.e. has the same meaning) as the declaration that began the\nsearch.", + "type": "boolean" + }, + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "isWriteAccess", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.FileReferencesResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.FileReferencesResponseBody" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.FileReferencesResponseBody": { + "type": "object", + "properties": { + "refs": { + "description": "The file locations referencing the symbol.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ReferencesResponseItem" + } + }, + "symbolName": { + "description": "The name of the symbol.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "refs", + "symbolName" + ] + }, + "server.protocol.ReferencesResponseItem": { + "type": "object", + "properties": { + "lineText": { + "description": "Text of line containing the reference. Including this\nwith the response avoids latency of editor loading files\nto show text of reference line (the server already has loaded the referencing files).\n\nIf {@link UserPreferences.disableLineTextInReferences} is enabled, the property won't be filled", + "type": "string" + }, + "isWriteAccess": { + "description": "True if reference is a write location, false otherwise.", + "type": "boolean" + }, + "isDefinition": { + "description": "Present only if the search was triggered from a declaration.\nTrue indicates that the references refers to the same symbol\n(i.e. has the same meaning) as the declaration that began the\nsearch.", + "type": "boolean" + }, + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "isWriteAccess", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.RenameResponse": { + "description": "Rename response message.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.RenameResponseBody" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.RenameResponseBody": { + "type": "object", + "properties": { + "info": { + "$ref": "#/definitions/server.protocol.RenameInfo", + "description": "Information about the item to be renamed." + }, + "locs": { + "description": "An array of span groups (one per file) that refer to the item to be renamed.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.SpanGroup" + } + } + }, + "additionalProperties": false, + "required": [ + "info", + "locs" + ] + }, + "server.protocol.RenameInfo": { + "description": "Information about the item to be renamed.", + "anyOf": [ + { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + }, + { + "$ref": "#/definitions/RenameInfoFailure" + } + ] + }, + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "canRename": { + "type": "boolean", + "const": true + }, + "fileToRename": { + "description": "File or directory to rename.\nIf set, `getEditsForFileRename` should be called instead of `findRenameLocations`.", + "type": "string" + }, + "displayName": { + "type": "string" + }, + "fullDisplayName": { + "description": "Full display name of item to be renamed.\nIf item to be renamed is a file, then this is the original text of the module specifer", + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "kindModifiers": { + "type": "string" + }, + "triggerSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + }, + "additionalProperties": false, + "required": [ + "canRename", + "displayName", + "fullDisplayName", + "kind", + "kindModifiers", + "triggerSpan" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "RenameInfoFailure": { + "type": "object", + "properties": { + "canRename": { + "type": "boolean", + "const": false + }, + "localizedErrorMessage": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "canRename", + "localizedErrorMessage" + ] + }, + "server.protocol.SpanGroup": { + "description": "A group of text spans, all in 'file'.", + "type": "object", + "properties": { + "file": { + "description": "The file to which the spans apply", + "type": "string" + }, + "locs": { + "description": "The text spans in this group", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.RenameTextSpan" + } + } + }, + "additionalProperties": false, + "required": [ + "file", + "locs" + ] + }, + "server.protocol.RenameTextSpan": { + "type": "object", + "properties": { + "prefixText": { + "type": "string" + }, + "suffixText": { + "type": "string" + }, + "contextStart": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "contextEnd": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "$ref": "#/definitions/server.protocol.Location" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ConfigureResponse": { + "description": "Response to \"configure\" request. This is just an acknowledgement, so\nno body field is required.", + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ConfigurePluginResponse": { + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.SelectionRangeResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.SelectionRange" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.SelectionRange": { + "type": "object", + "properties": { + "textSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "parent": { + "$ref": "#/definitions/server.protocol.SelectionRange" + } + }, + "additionalProperties": false, + "required": [ + "textSpan" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.OpenExternalProjectResponse": { + "description": "Response to OpenExternalProjectRequest request. This is just an acknowledgement, so\nno body field is required.", + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.OpenExternalProjectsResponse": { + "description": "Response to OpenExternalProjectsRequest request. This is just an acknowledgement, so\nno body field is required.", + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.CloseExternalProjectResponse": { + "description": "Response to CloseExternalProjectRequest request. This is just an acknowledgement, so\nno body field is required.", + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.SetCompilerOptionsForInferredProjectsResponse": { + "description": "Response to SetCompilerOptionsForInferredProjectsResponse request. This is just an acknowledgement, so\nno body field is required.", + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.CompileOnSaveAffectedFileListResponse": { + "description": "Response for CompileOnSaveAffectedFileListRequest request;", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CompileOnSaveAffectedFileListSingleProject" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.CompileOnSaveAffectedFileListSingleProject": { + "description": "Contains a list of files that should be regenerated in a project", + "type": "object", + "properties": { + "projectFileName": { + "description": "Project name", + "type": "string" + }, + "fileNames": { + "description": "List of files names that should be recompiled", + "type": "array", + "items": { + "type": "string" + } + }, + "projectUsesOutFile": { + "description": "true if project uses outFile or out compiler option", + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "fileNames", + "projectFileName", + "projectUsesOutFile" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.CompileOnSaveEmitFileResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "anyOf": [ + { + "$ref": "#/definitions/server.protocol.EmitResult" + }, + { + "type": "boolean" + } + ] + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.EmitResult": { + "type": "object", + "properties": { + "emitSkipped": { + "type": "boolean" + }, + "diagnostics": { + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.Diagnostic" + } + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticWithLinePosition" + } + } + ] + } + }, + "additionalProperties": false, + "required": [ + "diagnostics", + "emitSkipped" + ] + }, + "server.protocol.Diagnostic": { + "description": "Item of diagnostic information found in a DiagnosticEvent message.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "Starting file location at which text applies." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "The last file location at which the text applies." + }, + "text": { + "description": "Text of diagnostic message.", + "type": "string" + }, + "category": { + "description": "The category of the diagnostic message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "reportsUnnecessary": { + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "description": "Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + }, + "code": { + "description": "The error code of the diagnostic message.", + "type": "integer" + }, + "source": { + "description": "The name of the plugin reporting the message.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "category", + "end", + "start", + "text" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.DiagnosticRelatedInformation": { + "description": "Represents additional spans returned with a diagnostic which are relevant to it", + "type": "object", + "properties": { + "category": { + "description": "The category of the related information message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "code": { + "description": "The code used ot identify the related information", + "type": "integer" + }, + "message": { + "description": "Text of related or additional information.", + "type": "string" + }, + "span": { + "description": "Associated location", + "$ref": "#/definitions/server.protocol.FileSpan" + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "message" + ] + }, + "server.protocol.FileSpan": { + "description": "Object found in response messages defining a span of text in a specific source file.", + "type": "object", + "properties": { + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.DiagnosticWithLinePosition": { + "description": "Represents diagnostic info that includes location of diagnostic in two forms\n- start position and length of the error span\n- startLocation and endLocation - a pair of Location objects that store start/end line and offset of the error span.", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "start": { + "type": "integer" + }, + "length": { + "type": "integer" + }, + "startLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "endLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "category": { + "type": "string" + }, + "code": { + "type": "integer" + }, + "reportsUnnecessary": { + "description": "May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic.", + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "endLocation", + "length", + "message", + "start", + "startLocation" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.QuickInfoResponse": { + "description": "Quickinfo response message.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.QuickInfoResponseBody" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.QuickInfoResponseBody": { + "description": "Body of QuickInfoResponse.", + "type": "object", + "properties": { + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind", + "description": "The symbol's kind (such as 'className' or 'parameterName' or plain 'text')." + }, + "kindModifiers": { + "description": "Optional modifiers for the kind (such as 'public').", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "Starting file location of symbol." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One past last character of symbol." + }, + "displayString": { + "description": "Type and kind of symbol.", + "type": "string" + }, + "documentation": { + "description": "Documentation associated with symbol.\nDisplay parts when UserPreferences.displayPartsForJSDoc is true, flattened to string otherwise.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + { + "type": "string" + } + ] + }, + "tags": { + "description": "JSDoc tags associated with symbol.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.JSDocTagInfo" + } + }, + "canIncreaseVerbosityLevel": { + "description": "Whether the verbosity level can be increased for this quick info response.", + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "displayString", + "documentation", + "end", + "kind", + "kindModifiers", + "start", + "tags" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "SymbolDisplayPart": { + "type": "object", + "properties": { + "text": { + "description": "Text of an item describing the symbol.", + "type": "string" + }, + "kind": { + "description": "The symbol's kind (such as 'className' or 'parameterName' or plain 'text').", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind", + "text" + ] + }, + "server.protocol.JSDocTagInfo": { + "type": "object", + "properties": { + "name": { + "description": "Name of the JSDoc tag", + "type": "string" + }, + "text": { + "description": "Comment text after the JSDoc tag -- the text after the tag name until the next tag or end of comment\nDisplay parts when UserPreferences.displayPartsForJSDoc is true, flattened to string otherwise.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.CodeFixResponse": { + "type": "object", + "properties": { + "body": { + "description": "The code actions that are available", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeFixAction" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.CodeFixAction": { + "type": "object", + "properties": { + "fixName": { + "description": "Short name to identify the fix, for use by telemetry.", + "type": "string" + }, + "fixId": { + "description": "If present, one may call 'getCombinedCodeFix' with this fixId.\nThis may be omitted to indicate that the code fix can't be applied in a group.", + "type": "object", + "properties": {} + }, + "fixAllDescription": { + "description": "Should be present if and only if 'fixId' is.", + "type": "string" + }, + "description": { + "description": "Description of the code action to display in the UI of the editor", + "type": "string" + }, + "changes": { + "description": "Text changes to apply to each file as part of the code action", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "commands": { + "description": "A command is an opaque object that should be passed to `ApplyCodeActionCommandRequestArgs` without modification.", + "type": "array", + "items": { + "type": "object", + "properties": {} + } + } + }, + "additionalProperties": false, + "required": [ + "changes", + "description", + "fixName" + ] + }, + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.FormatResponse": { + "description": "Format and format on key response message.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.CompletionsResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes,{replacementSpan:server.protocol.TextSpan;data:unknown;}>" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ChangePropertyTypes,{replacementSpan:server.protocol.TextSpan;data:unknown;}>": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "source": { + "description": "Identifier (not necessarily human-readable) identifying where this completion came from.", + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "data": { + "description": "A property to be sent back to TS Server in the CompletionDetailsRequest, along with `name`,\nthat allows TS Server to look up the symbol represented by the completion item, disambiguating\nitems with the same name. Currently only defined for auto-import completions, but the type is\n`unknown` in the protocol, so it can be changed as needed to support other kinds of completions.\nThe presence of this property should generally not be used to assume that this completion entry\nis an auto-import." + }, + "kindModifiers": { + "type": "string" + }, + "sortText": { + "description": "A string that is used for comparing completion items so that they can be ordered. This\nis often the same as the name but may be different in certain circumstances.", + "type": "string" + }, + "insertText": { + "description": "Text to insert instead of `name`.\nThis is used to support bracketed completions; If `name` might be \"a-b\" but `insertText` would be `[\"a-b\"]`,\ncoupled with `replacementSpan` to replace a dotted access with a bracket access.", + "type": "string" + }, + "filterText": { + "description": "A string that should be used when filtering a set of\ncompletion items.", + "type": "string" + }, + "isSnippet": { + "description": "`insertText` should be interpreted as a snippet if true.", + "const": true, + "type": "boolean" + }, + "replacementSpan": { + "description": "An optional span that indicates the text to be replaced by this completion item.\nIf present, this span should be used instead of the default one.\nIt will be set if the required span differs from the one generated by the default replacement behavior.", + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "hasAction": { + "description": "Indicates whether commiting this completion entry will require additional code actions to be\nmade to avoid errors. The CompletionEntryDetails will have these actions.", + "const": true, + "type": "boolean" + }, + "sourceDisplay": { + "description": "Human-readable description of the `source`.", + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "labelDetails": { + "description": "Additional details for the label.", + "$ref": "#/definitions/CompletionEntryLabelDetails" + }, + "isRecommended": { + "description": "If true, this completion should be highlighted as recommended. There will only be one of these.\nThis will be set when we know the user should write an expression with a certain type and that type is an enum or constructable class.\nThen either that enum/class or a namespace containing it will be the recommended symbol.", + "const": true, + "type": "boolean" + }, + "isFromUncheckedFile": { + "description": "If true, this completion was generated from traversing the name table of an unchecked JS file,\nand therefore may not be accurate.", + "const": true, + "type": "boolean" + }, + "isPackageJsonImport": { + "description": "If true, this completion was for an auto-import of a module not yet in the program, but listed\nin the project package.json. Used for telemetry reporting.", + "const": true, + "type": "boolean" + }, + "isImportStatementCompletion": { + "description": "If true, this completion was an auto-import-style completion of an import statement (i.e., the\nmodule specifier was inserted along with the imported identifier). Used for telemetry reporting.", + "const": true, + "type": "boolean" + }, + "commitCharacters": { + "description": "If this completion entry is selected, typing a commit character will cause the entry to be accepted.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "kind", + "name", + "sortText" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "SymbolDisplayPart": { + "type": "object", + "properties": { + "text": { + "description": "Text of an item describing the symbol.", + "type": "string" + }, + "kind": { + "description": "The symbol's kind (such as 'className' or 'parameterName' or plain 'text').", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind", + "text" + ] + }, + "CompletionEntryLabelDetails": { + "type": "object", + "properties": { + "detail": { + "description": "An optional string which is rendered less prominently directly after\n{@link CompletionEntry.namename}, without any spacing. Should be\nused for function signatures or type annotations.", + "type": "string" + }, + "description": { + "description": "An optional string which is rendered less prominently after\n{@link CompletionEntryLabelDetails.detail}. Should be used for fully qualified\nnames or file path.", + "type": "string" + } + }, + "additionalProperties": false + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.CompletionInfoResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.ChangePropertyTypes,{replacementSpan:server.protocol.TextSpan;data:unknown;}>[];optionalReplacementSpan:server.protocol.TextSpan;}>" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ChangePropertyTypes,{replacementSpan:server.protocol.TextSpan;data:unknown;}>[];optionalReplacementSpan:server.protocol.TextSpan;}>": { + "type": "object", + "properties": { + "flags": { + "description": "For performance telemetry.", + "enum": [ + 0, + 1, + 16, + 2, + 32, + 4, + 8 + ], + "type": "number" + }, + "isGlobalCompletion": { + "description": "Not true for all global completions. This will be true if the enclosing scope matches a few syntax kinds. See `isSnippetScope`.", + "type": "boolean" + }, + "isMemberCompletion": { + "type": "boolean" + }, + "optionalReplacementSpan": { + "description": "In the absence of `CompletionEntry[\"replacementSpan\"]`, the editor may choose whether to use\nthis span or its default one. If `CompletionEntry[\"replacementSpan\"]` is defined, that span\nmust be used to commit that completion entry.", + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "isNewIdentifierLocation": { + "description": "true when the current location also allows for a new identifier", + "type": "boolean" + }, + "isIncomplete": { + "description": "Indicates to client to continue requesting completions on subsequent keystrokes.", + "const": true, + "type": "boolean" + }, + "entries": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes,{replacementSpan:server.protocol.TextSpan;data:unknown;}>" + } + }, + "defaultCommitCharacters": { + "description": "Default commit characters for the completion entries.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "entries", + "isGlobalCompletion", + "isMemberCompletion", + "isNewIdentifierLocation" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.ChangePropertyTypes,{replacementSpan:server.protocol.TextSpan;data:unknown;}>": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "source": { + "description": "Identifier (not necessarily human-readable) identifying where this completion came from.", + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "data": { + "description": "A property to be sent back to TS Server in the CompletionDetailsRequest, along with `name`,\nthat allows TS Server to look up the symbol represented by the completion item, disambiguating\nitems with the same name. Currently only defined for auto-import completions, but the type is\n`unknown` in the protocol, so it can be changed as needed to support other kinds of completions.\nThe presence of this property should generally not be used to assume that this completion entry\nis an auto-import." + }, + "kindModifiers": { + "type": "string" + }, + "sortText": { + "description": "A string that is used for comparing completion items so that they can be ordered. This\nis often the same as the name but may be different in certain circumstances.", + "type": "string" + }, + "insertText": { + "description": "Text to insert instead of `name`.\nThis is used to support bracketed completions; If `name` might be \"a-b\" but `insertText` would be `[\"a-b\"]`,\ncoupled with `replacementSpan` to replace a dotted access with a bracket access.", + "type": "string" + }, + "filterText": { + "description": "A string that should be used when filtering a set of\ncompletion items.", + "type": "string" + }, + "isSnippet": { + "description": "`insertText` should be interpreted as a snippet if true.", + "const": true, + "type": "boolean" + }, + "replacementSpan": { + "description": "An optional span that indicates the text to be replaced by this completion item.\nIf present, this span should be used instead of the default one.\nIt will be set if the required span differs from the one generated by the default replacement behavior.", + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "hasAction": { + "description": "Indicates whether commiting this completion entry will require additional code actions to be\nmade to avoid errors. The CompletionEntryDetails will have these actions.", + "const": true, + "type": "boolean" + }, + "sourceDisplay": { + "description": "Human-readable description of the `source`.", + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "labelDetails": { + "description": "Additional details for the label.", + "$ref": "#/definitions/CompletionEntryLabelDetails" + }, + "isRecommended": { + "description": "If true, this completion should be highlighted as recommended. There will only be one of these.\nThis will be set when we know the user should write an expression with a certain type and that type is an enum or constructable class.\nThen either that enum/class or a namespace containing it will be the recommended symbol.", + "const": true, + "type": "boolean" + }, + "isFromUncheckedFile": { + "description": "If true, this completion was generated from traversing the name table of an unchecked JS file,\nand therefore may not be accurate.", + "const": true, + "type": "boolean" + }, + "isPackageJsonImport": { + "description": "If true, this completion was for an auto-import of a module not yet in the program, but listed\nin the project package.json. Used for telemetry reporting.", + "const": true, + "type": "boolean" + }, + "isImportStatementCompletion": { + "description": "If true, this completion was an auto-import-style completion of an import statement (i.e., the\nmodule specifier was inserted along with the imported identifier). Used for telemetry reporting.", + "const": true, + "type": "boolean" + }, + "commitCharacters": { + "description": "If this completion entry is selected, typing a commit character will cause the entry to be accepted.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "kind", + "name", + "sortText" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "SymbolDisplayPart": { + "type": "object", + "properties": { + "text": { + "description": "Text of an item describing the symbol.", + "type": "string" + }, + "kind": { + "description": "The symbol's kind (such as 'className' or 'parameterName' or plain 'text').", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind", + "text" + ] + }, + "CompletionEntryLabelDetails": { + "type": "object", + "properties": { + "detail": { + "description": "An optional string which is rendered less prominently directly after\n{@link CompletionEntry.namename}, without any spacing. Should be\nused for function signatures or type annotations.", + "type": "string" + }, + "description": { + "description": "An optional string which is rendered less prominently after\n{@link CompletionEntryLabelDetails.detail}. Should be used for fully qualified\nnames or file path.", + "type": "string" + } + }, + "additionalProperties": false + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.CompletionDetailsResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "kindModifiers": { + "type": "string" + }, + "displayParts": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "documentation": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.JSDocTagInfo" + } + }, + "codeActions": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeAction" + } + }, + "source": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "sourceDisplay": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + } + }, + "additionalProperties": false, + "required": [ + "displayParts", + "kind", + "kindModifiers", + "name" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "SymbolDisplayPart": { + "type": "object", + "properties": { + "text": { + "description": "Text of an item describing the symbol.", + "type": "string" + }, + "kind": { + "description": "The symbol's kind (such as 'className' or 'parameterName' or plain 'text').", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind", + "text" + ] + }, + "server.protocol.JSDocTagInfo": { + "type": "object", + "properties": { + "name": { + "description": "Name of the JSDoc tag", + "type": "string" + }, + "text": { + "description": "Comment text after the JSDoc tag -- the text after the tag name until the next tag or end of comment\nDisplay parts when UserPreferences.displayPartsForJSDoc is true, flattened to string otherwise.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "server.protocol.CodeAction": { + "type": "object", + "properties": { + "description": { + "description": "Description of the code action to display in the UI of the editor", + "type": "string" + }, + "changes": { + "description": "Text changes to apply to each file as part of the code action", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "commands": { + "description": "A command is an opaque object that should be passed to `ApplyCodeActionCommandRequestArgs` without modification.", + "type": "array", + "items": { + "type": "object", + "properties": {} + } + } + }, + "additionalProperties": false, + "required": [ + "changes", + "description" + ] + }, + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.SignatureHelpResponse": { + "description": "Response object for a SignatureHelpRequest.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.SignatureHelpItems" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.SignatureHelpItems": { + "description": "Signature help items found in the response of a signature help request.", + "type": "object", + "properties": { + "items": { + "description": "The signature help items.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + } + }, + "applicableSpan": { + "$ref": "#/definitions/server.protocol.TextSpan", + "description": "The span for which signature help should appear on a signature" + }, + "selectedItemIndex": { + "description": "The item selected in the set of available help items.", + "type": "integer" + }, + "argumentIndex": { + "description": "The argument selected in the set of parameters.", + "type": "integer" + }, + "argumentCount": { + "description": "The argument count", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "applicableSpan", + "argumentCount", + "argumentIndex", + "items", + "selectedItemIndex" + ] + }, + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "isVariadic": { + "type": "boolean" + }, + "prefixDisplayParts": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "suffixDisplayParts": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "separatorDisplayParts": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "parameters": { + "type": "array", + "items": { + "$ref": "#/definitions/SignatureHelpParameter" + } + }, + "documentation": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.JSDocTagInfo" + } + } + }, + "additionalProperties": false, + "required": [ + "documentation", + "isVariadic", + "parameters", + "prefixDisplayParts", + "separatorDisplayParts", + "suffixDisplayParts", + "tags" + ] + }, + "SymbolDisplayPart": { + "type": "object", + "properties": { + "text": { + "description": "Text of an item describing the symbol.", + "type": "string" + }, + "kind": { + "description": "The symbol's kind (such as 'className' or 'parameterName' or plain 'text').", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind", + "text" + ] + }, + "SignatureHelpParameter": { + "description": "Signature help information for a single parameter", + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "documentation": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "displayParts": { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + "isOptional": { + "type": "boolean" + }, + "isRest": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "displayParts", + "documentation", + "isOptional", + "name" + ] + }, + "server.protocol.JSDocTagInfo": { + "type": "object", + "properties": { + "name": { + "description": "Name of the JSDoc tag", + "type": "string" + }, + "text": { + "description": "Comment text after the JSDoc tag -- the text after the tag name until the next tag or end of comment\nDisplay parts when UserPreferences.displayPartsForJSDoc is true, flattened to string otherwise.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SymbolDisplayPart" + } + }, + { + "type": "string" + } + ] + } + }, + "additionalProperties": false, + "required": [ + "name" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.InlayHintsResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "text": { + "description": "This property will be the empty string when displayParts is set.", + "type": "string" + }, + "position": { + "$ref": "#/definitions/server.protocol.Location" + }, + "kind": { + "$ref": "#/definitions/ts.InlayHintKind" + }, + "whitespaceBefore": { + "type": "boolean" + }, + "whitespaceAfter": { + "type": "boolean" + }, + "displayParts": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.InlayHintItemDisplayPart" + } + } + }, + "additionalProperties": false, + "required": [ + "kind", + "position", + "text" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "ts.InlayHintKind": { + "type": "string", + "enum": [ + "Type", + "Parameter", + "Enum" + ] + }, + "server.protocol.InlayHintItemDisplayPart": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "span": { + "description": "Object found in response messages defining a span of text in a specific source file.", + "$ref": "#/definitions/server.protocol.FileSpan" + } + }, + "additionalProperties": false, + "required": [ + "text" + ] + }, + "server.protocol.FileSpan": { + "description": "Object found in response messages defining a span of text in a specific source file.", + "type": "object", + "properties": { + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.MapCodeResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileCodeEdits" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.FileCodeEdits": { + "type": "object", + "properties": { + "fileName": { + "type": "string" + }, + "textChanges": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CodeEdit" + } + } + }, + "additionalProperties": false, + "required": [ + "fileName", + "textChanges" + ] + }, + "server.protocol.CodeEdit": { + "description": "Object found in response messages defining an editing\ninstruction for a span of text in source code. The effect of\nthis instruction is to replace the text starting at start and\nending one character before end with newText. For an insertion,\nthe text span is empty. For a deletion, newText is empty.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the text span to edit." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the text span to edit." + }, + "newText": { + "description": "Replace the span defined above with this string (may be\nthe empty string).", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "end", + "newText", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.SemanticDiagnosticsSyncResponse": { + "description": "Response object for synchronous sematic diagnostics request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.Diagnostic" + } + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticWithLinePosition" + } + } + ] + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.Diagnostic": { + "description": "Item of diagnostic information found in a DiagnosticEvent message.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "Starting file location at which text applies." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "The last file location at which the text applies." + }, + "text": { + "description": "Text of diagnostic message.", + "type": "string" + }, + "category": { + "description": "The category of the diagnostic message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "reportsUnnecessary": { + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "description": "Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + }, + "code": { + "description": "The error code of the diagnostic message.", + "type": "integer" + }, + "source": { + "description": "The name of the plugin reporting the message.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "category", + "end", + "start", + "text" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.DiagnosticRelatedInformation": { + "description": "Represents additional spans returned with a diagnostic which are relevant to it", + "type": "object", + "properties": { + "category": { + "description": "The category of the related information message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "code": { + "description": "The code used ot identify the related information", + "type": "integer" + }, + "message": { + "description": "Text of related or additional information.", + "type": "string" + }, + "span": { + "description": "Associated location", + "$ref": "#/definitions/server.protocol.FileSpan" + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "message" + ] + }, + "server.protocol.FileSpan": { + "description": "Object found in response messages defining a span of text in a specific source file.", + "type": "object", + "properties": { + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.DiagnosticWithLinePosition": { + "description": "Represents diagnostic info that includes location of diagnostic in two forms\n- start position and length of the error span\n- startLocation and endLocation - a pair of Location objects that store start/end line and offset of the error span.", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "start": { + "type": "integer" + }, + "length": { + "type": "integer" + }, + "startLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "endLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "category": { + "type": "string" + }, + "code": { + "type": "integer" + }, + "reportsUnnecessary": { + "description": "May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic.", + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "endLocation", + "length", + "message", + "start", + "startLocation" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.SuggestionDiagnosticsSyncResponse": { + "description": "Response object for synchronous sematic diagnostics request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.Diagnostic" + } + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticWithLinePosition" + } + } + ] + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.Diagnostic": { + "description": "Item of diagnostic information found in a DiagnosticEvent message.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "Starting file location at which text applies." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "The last file location at which the text applies." + }, + "text": { + "description": "Text of diagnostic message.", + "type": "string" + }, + "category": { + "description": "The category of the diagnostic message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "reportsUnnecessary": { + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "description": "Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + }, + "code": { + "description": "The error code of the diagnostic message.", + "type": "integer" + }, + "source": { + "description": "The name of the plugin reporting the message.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "category", + "end", + "start", + "text" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.DiagnosticRelatedInformation": { + "description": "Represents additional spans returned with a diagnostic which are relevant to it", + "type": "object", + "properties": { + "category": { + "description": "The category of the related information message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "code": { + "description": "The code used ot identify the related information", + "type": "integer" + }, + "message": { + "description": "Text of related or additional information.", + "type": "string" + }, + "span": { + "description": "Associated location", + "$ref": "#/definitions/server.protocol.FileSpan" + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "message" + ] + }, + "server.protocol.FileSpan": { + "description": "Object found in response messages defining a span of text in a specific source file.", + "type": "object", + "properties": { + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.DiagnosticWithLinePosition": { + "description": "Represents diagnostic info that includes location of diagnostic in two forms\n- start position and length of the error span\n- startLocation and endLocation - a pair of Location objects that store start/end line and offset of the error span.", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "start": { + "type": "integer" + }, + "length": { + "type": "integer" + }, + "startLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "endLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "category": { + "type": "string" + }, + "code": { + "type": "integer" + }, + "reportsUnnecessary": { + "description": "May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic.", + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "endLocation", + "length", + "message", + "start", + "startLocation" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.SyntacticDiagnosticsSyncResponse": { + "description": "Response object for synchronous syntactic diagnostics request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "anyOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.Diagnostic" + } + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticWithLinePosition" + } + } + ] + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.Diagnostic": { + "description": "Item of diagnostic information found in a DiagnosticEvent message.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "Starting file location at which text applies." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "The last file location at which the text applies." + }, + "text": { + "description": "Text of diagnostic message.", + "type": "string" + }, + "category": { + "description": "The category of the diagnostic message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "reportsUnnecessary": { + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "description": "Any related spans the diagnostic may have, such as other locations relevant to an error, such as declarartion sites", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + }, + "code": { + "description": "The error code of the diagnostic message.", + "type": "integer" + }, + "source": { + "description": "The name of the plugin reporting the message.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "category", + "end", + "start", + "text" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.DiagnosticRelatedInformation": { + "description": "Represents additional spans returned with a diagnostic which are relevant to it", + "type": "object", + "properties": { + "category": { + "description": "The category of the related information message, e.g. \"error\", \"warning\", or \"suggestion\".", + "type": "string" + }, + "code": { + "description": "The code used ot identify the related information", + "type": "integer" + }, + "message": { + "description": "Text of related or additional information.", + "type": "string" + }, + "span": { + "description": "Associated location", + "$ref": "#/definitions/server.protocol.FileSpan" + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "message" + ] + }, + "server.protocol.FileSpan": { + "description": "Object found in response messages defining a span of text in a specific source file.", + "type": "object", + "properties": { + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "start" + ] + }, + "server.protocol.DiagnosticWithLinePosition": { + "description": "Represents diagnostic info that includes location of diagnostic in two forms\n- start position and length of the error span\n- startLocation and endLocation - a pair of Location objects that store start/end line and offset of the error span.", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "start": { + "type": "integer" + }, + "length": { + "type": "integer" + }, + "startLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "endLocation": { + "$ref": "#/definitions/server.protocol.Location" + }, + "category": { + "type": "string" + }, + "code": { + "type": "integer" + }, + "reportsUnnecessary": { + "description": "May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic.", + "type": "object", + "properties": {} + }, + "reportsDeprecated": { + "type": "object", + "properties": {} + }, + "relatedInformation": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.DiagnosticRelatedInformation" + } + } + }, + "additionalProperties": false, + "required": [ + "category", + "code", + "endLocation", + "length", + "message", + "start", + "startLocation" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ReloadResponse": { + "description": "Response to \"reload\" request. This is just an acknowledgement, so\nno body field is required.", + "type": "object", + "properties": { + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "body": { + "description": "Contains message body if success === true." + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.NavtoResponse": { + "description": "Navto response message. Body is an array of navto items. Each\nitem gives a symbol that matched the search term.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.NavtoItem" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.NavtoItem": { + "description": "An item found in a navto response.", + "type": "object", + "properties": { + "name": { + "description": "The symbol's name.", + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind", + "description": "The symbol's kind (such as 'className' or 'parameterName')." + }, + "matchKind": { + "description": "exact, substring, or prefix.", + "type": "string" + }, + "isCaseSensitive": { + "description": "If this was a case sensitive or insensitive match.", + "type": "boolean" + }, + "kindModifiers": { + "description": "Optional modifiers for the kind (such as 'public').", + "type": "string" + }, + "containerName": { + "description": "Name of symbol's container symbol (if any); for example,\nthe class name if symbol is a class member.", + "type": "string" + }, + "containerKind": { + "description": "Kind of symbol's container symbol (if any).", + "enum": [ + "", + "JSX attribute", + "accessor", + "alias", + "await using", + "call", + "class", + "const", + "construct", + "constructor", + "directory", + "enum", + "enum member", + "external module name", + "function", + "getter", + "index", + "interface", + "keyword", + "label", + "let", + "link", + "link name", + "link text", + "local class", + "local function", + "local var", + "method", + "module", + "parameter", + "primitive type", + "property", + "script", + "setter", + "string", + "type", + "type parameter", + "using", + "var", + "warning" + ], + "type": "string" + }, + "file": { + "description": "File containing text span.", + "type": "string" + }, + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "file", + "isCaseSensitive", + "kind", + "matchKind", + "name", + "start" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.BraceResponse": { + "description": "Response to \"brace\" request.", + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.NavBarResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.NavigationBarItem" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.NavigationBarItem": { + "type": "object", + "properties": { + "text": { + "description": "The item's display text.", + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind", + "description": "The symbol's kind (such as 'className' or 'parameterName')." + }, + "kindModifiers": { + "description": "Optional modifiers for the kind (such as 'public').", + "type": "string" + }, + "spans": { + "description": "The definition locations of the item.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + }, + "childItems": { + "description": "Optional children.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.NavigationBarItem" + } + }, + "indent": { + "description": "Number of levels deep this item should appear.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "indent", + "kind", + "spans", + "text" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.NavTreeResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "$ref": "#/definitions/server.protocol.NavigationTree" + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.NavigationTree": { + "description": "protocol.NavigationTree is identical to ts.NavigationTree, except using protocol.TextSpan instead of ts.TextSpan", + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "kindModifiers": { + "type": "string" + }, + "spans": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + }, + "nameSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "childItems": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.NavigationTree" + } + } + }, + "additionalProperties": false, + "required": [ + "kind", + "kindModifiers", + "nameSpan", + "spans", + "text" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.PrepareCallHierarchyResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "anyOf": [ + { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + } + } + ] + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "kindModifiers": { + "type": "string" + }, + "file": { + "type": "string" + }, + "span": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "selectionSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "containerName": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "file", + "kind", + "name", + "selectionSpan", + "span" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ProvideCallHierarchyIncomingCallsResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CallHierarchyIncomingCall" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.CallHierarchyIncomingCall": { + "type": "object", + "properties": { + "from": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + }, + "fromSpans": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + } + }, + "additionalProperties": false, + "required": [ + "from", + "fromSpans" + ] + }, + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "kindModifiers": { + "type": "string" + }, + "file": { + "type": "string" + }, + "span": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "selectionSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "containerName": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "file", + "kind", + "name", + "selectionSpan", + "span" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.protocol.ProvideCallHierarchyOutgoingCallsResponse": { + "type": "object", + "properties": { + "body": { + "description": "Contains message body if success === true.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.CallHierarchyOutgoingCall" + } + }, + "type": { + "description": "One of \"request\", \"response\", or \"event\"", + "type": "string", + "const": "response" + }, + "request_seq": { + "description": "Sequence number of the request message.", + "type": "integer" + }, + "success": { + "description": "Outcome of the request.", + "type": "boolean" + }, + "command": { + "description": "The command requested.", + "type": "string" + }, + "message": { + "description": "If success === false, this should always be provided.\nOtherwise, may (or may not) contain a success message.", + "type": "string" + }, + "metadata": { + "description": "Contains extra information that plugin can include to be passed on" + }, + "performanceData": { + "description": "Exposes information about the performance of this request-response pair.", + "$ref": "#/definitions/server.protocol.PerformanceData" + }, + "seq": { + "description": "Sequence number of the message", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "body", + "command", + "request_seq", + "seq", + "success", + "type" + ], + "definitions": { + "server.protocol.CallHierarchyOutgoingCall": { + "type": "object", + "properties": { + "to": { + "$ref": "#/definitions/server.protocol.ChangePropertyTypes" + }, + "fromSpans": { + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.TextSpan" + } + } + }, + "additionalProperties": false, + "required": [ + "fromSpans", + "to" + ] + }, + "server.protocol.ChangePropertyTypes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "kind": { + "$ref": "#/definitions/ts.ScriptElementKind" + }, + "kindModifiers": { + "type": "string" + }, + "file": { + "type": "string" + }, + "span": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "selectionSpan": { + "$ref": "#/definitions/server.protocol.TextSpan" + }, + "containerName": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "file", + "kind", + "name", + "selectionSpan", + "span" + ] + }, + "ts.ScriptElementKind": { + "type": "string", + "enum": [ + "", + "warning", + "keyword", + "script", + "module", + "class", + "local class", + "interface", + "type", + "enum", + "enum member", + "var", + "local var", + "using", + "await using", + "function", + "local function", + "method", + "getter", + "setter", + "property", + "accessor", + "constructor", + "call", + "index", + "construct", + "parameter", + "type parameter", + "primitive type", + "label", + "alias", + "const", + "let", + "directory", + "external module name", + "JSX attribute", + "string", + "link", + "link name", + "link text" + ] + }, + "server.protocol.TextSpan": { + "description": "Object found in response messages defining a span of text in source code.", + "type": "object", + "properties": { + "start": { + "$ref": "#/definitions/server.protocol.Location", + "description": "First character of the definition." + }, + "end": { + "$ref": "#/definitions/server.protocol.Location", + "description": "One character past last character of the definition." + } + }, + "additionalProperties": false, + "required": [ + "end", + "start" + ] + }, + "server.protocol.Location": { + "description": "Location in source code expressed as (one-based) line and (one-based) column offset.", + "type": "object", + "properties": { + "line": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "line", + "offset" + ] + }, + "server.protocol.PerformanceData": { + "type": "object", + "properties": { + "updateGraphDurationMs": { + "description": "Time spent updating the program graph, in milliseconds.", + "type": "integer" + }, + "createAutoImportProviderProgramDurationMs": { + "description": "The time spent creating or updating the auto-import program, in milliseconds.", + "type": "integer" + }, + "diagnosticsDuration": { + "description": "The time spent computing diagnostics, in milliseconds.", + "type": "array", + "items": { + "$ref": "#/definitions/server.protocol.FileDiagnosticPerformanceData" + } + } + }, + "additionalProperties": false + }, + "server.protocol.FileDiagnosticPerformanceData": { + "type": "object", + "properties": { + "file": { + "description": "The file for which the performance data is reported.", + "type": "string" + }, + "semanticDiag": { + "type": "integer" + }, + "syntaxDiag": { + "type": "integer" + }, + "suggestionDiag": { + "type": "integer" + }, + "regionSemanticDiag": { + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "file" + ] + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.TypingInstallerResponse": { + "type": "object", + "properties": { + "kind": { + "enum": [ + "action::invalidate", + "action::packageInstalled", + "action::set", + "action::watchTypingLocations", + "event::beginInstallTypes", + "event::endInstallTypes", + "event::initializationFailed", + "event::typesRegistry" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.PackageInstalledResponse": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "const": "action::packageInstalled" + }, + "id": { + "type": "integer" + }, + "success": { + "type": "boolean" + }, + "message": { + "type": "string" + }, + "projectName": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "id", + "kind", + "message", + "projectName", + "success" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.InitializationFailedResponse": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "const": "event::initializationFailed" + }, + "message": { + "type": "string" + }, + "stack": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind", + "message" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.ProjectResponse": { + "type": "object", + "properties": { + "projectName": { + "type": "string" + }, + "kind": { + "enum": [ + "action::invalidate", + "action::packageInstalled", + "action::set", + "action::watchTypingLocations", + "event::beginInstallTypes", + "event::endInstallTypes", + "event::initializationFailed", + "event::typesRegistry" + ], + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "kind", + "projectName" + ], + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "ts.server.HandlerResponse": { + "type": "object", + "properties": { + "response": { + "type": "object", + "properties": {} + }, + "responseRequired": { + "type": "boolean" + } + }, + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4RefSchema": { + "$ref": "#/definitions/JSONSchema4RefSchema", + "definitions": { + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4AllOfSchema": { + "$ref": "#/definitions/JSONSchema4AllOfSchema", + "definitions": { + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4AnyOfSchema": { + "$ref": "#/definitions/JSONSchema4AnyOfSchema", + "definitions": { + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4OneOfSchema": { + "$ref": "#/definitions/JSONSchema4OneOfSchema", + "definitions": { + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4MultiSchema": { + "$ref": "#/definitions/JSONSchema4MultiSchema", + "definitions": { + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4ObjectSchema": { + "$ref": "#/definitions/JSONSchema4ObjectSchema", + "definitions": { + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4ArraySchema": { + "$ref": "#/definitions/JSONSchema4ArraySchema", + "definitions": { + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4StringSchema": { + "$ref": "#/definitions/JSONSchema4StringSchema", + "definitions": { + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4NumberSchema": { + "$ref": "#/definitions/JSONSchema4NumberSchema", + "definitions": { + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4BooleanSchema": { + "$ref": "#/definitions/JSONSchema4BooleanSchema", + "definitions": { + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4NullSchema": { + "$ref": "#/definitions/JSONSchema4NullSchema", + "definitions": { + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, + "JSONSchema4AnySchema": { + "$ref": "#/definitions/JSONSchema4AnySchema", + "definitions": { + "Record": { + "type": "object", + "additionalProperties": false + }, + "JSONSchema4": { + "description": "JSON Schema V4", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "JSONSchema4AllOfSchema": { + "type": "object", + "properties": { + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "allOf" + ] + }, + "JSONSchema4TypeExtended": { + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "JSONSchema4Object": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "JSONSchema4AnyOfSchema": { + "type": "object", + "properties": { + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "anyOf" + ] + }, + "JSONSchema4AnySchema": { + "type": "object", + "properties": { + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "any" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ArraySchema": { + "type": "object", + "properties": { + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "array" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4BooleanSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "boolean" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "boolean" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4MultiSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4Type" + } + }, + "type": { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4TypeName" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "id": { + "type": "string" + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + }, + "additionalItems": { + "description": "May only be defined when \"items\" is defined, and is a tuple of JSONSchemas.\n\nThis provides a definition for additional items in an array instance\nwhen tuple definitions of the items is provided. This can be false\nto indicate additional items in the array are not allowed, or it can\nbe a schema that defines the schema of the additional items.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "items": { + "description": "This attribute defines the allowed items in an instance array, and\nMUST be a schema or an array of schemas. The default value is an\nempty schema which allows any value for items in the instance array.\n\nWhen this attribute value is a schema and the instance value is an\narray, then all the items in the array MUST be valid according to the\nschema.\n\nWhen this attribute value is an array of schemas and the instance\nvalue is an array, each position in the instance array MUST conform\nto the schema in the corresponding position for this array. This\ncalled tuple typing. When tuple typing is used, additional items are\nallowed, disallowed, or constrained by the \"additionalItems\"\n(Section 5.6) attribute using the same rules as\n\"additionalProperties\" (Section 5.4) for objects.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + } + ] + }, + "maxItems": { + "description": "Defines the maximum length of an array", + "type": "integer" + }, + "minItems": { + "description": "Defines the minimum length of an array", + "type": "integer" + }, + "uniqueItems": { + "description": "Enforces that all items in the array are unique", + "type": "boolean" + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4Type": { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + }, + "JSONSchema4TypeName": { + "enum": [ + "any", + "array", + "boolean", + "integer", + "null", + "number", + "object", + "string" + ], + "type": "string" + }, + "JSONSchema4NullSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "null" + } + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "null" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4NumberSchema": { + "type": "object", + "properties": { + "enum": { + "description": "This provides an enumeration of all possible values that are valid\nfor the instance property. This MUST be an array, and each item in\nthe array represents a possible value for the instance value. If\nthis attribute is defined, the instance value MUST be one of the\nvalues in the array in order for the schema to be valid.", + "type": "array", + "items": { + "type": "integer" + } + }, + "exclusiveMaximum": { + "description": "The exclusive minimum allowed value for the number\n- `true` = `x < maximum`\n- `false` = `x <= maximum`\n\nDefault is `false`", + "type": "boolean" + }, + "exclusiveMinimum": { + "description": "Indicates whether or not `minimum` is the inclusive or exclusive minimum\n- `true` = `x > minimum`\n- `false` = `x ≥ minimum`\n\nDefault is `false`", + "type": "boolean" + }, + "maximum": { + "description": "The maximum allowed value for the number", + "type": "integer" + }, + "minimum": { + "description": "The minimum allowed value for the number", + "type": "integer" + }, + "multipleOf": { + "description": "Numbers can be restricted to a multiple of a given number, using the\n`multipleOf` keyword. It may be set to any positive number.", + "type": "integer" + }, + "type": { + "description": "A single type, or a union of simple types", + "enum": [ + "integer", + "number" + ], + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4ObjectSchema": { + "type": "object", + "properties": { + "additionalProperties": { + "description": "This attribute defines a schema for all properties that are not\nexplicitly defined in an object type definition. If specified, the\nvalue MUST be a schema or a boolean. If false is provided, no\nadditional properties are allowed beyond the properties defined in\nthe schema. The default value is an empty schema which allows any\nvalue for additional properties.", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + }, + { + "type": "boolean" + } + ] + }, + "dependencies": { + "description": "The `dependencies` keyword conditionally applies a sub-schema when a given\nproperty is present. This schema is applied in the same way `allOf` applies\nschemas. Nothing is merged or extended. Both schemas apply independently.", + "$ref": "#/definitions/Record" + }, + "maxProperties": { + "description": "The maximum number of properties allowed for record-style schemas", + "type": "integer" + }, + "minProperties": { + "description": "The minimum number of properties required for record-style schemas", + "type": "integer" + }, + "patternProperties": { + "description": "This attribute is an object that defines the schema for a set of\nproperty names of an object instance. The name of each property of\nthis attribute's object is a regular expression pattern in the ECMA\n262/Perl 5 format, while the value is a schema. If the pattern\nmatches the name of a property on the instance object, the value of\nthe instance's property MUST be valid against the pattern name's\nschema value.", + "$ref": "#/definitions/Record" + }, + "properties": { + "description": "This attribute is an object with property definitions that define the\nvalid values of instance object property values. When the instance\nvalue is an object, the property values of the instance object MUST\nconform to the property definitions in this object. In this object,\neach property definition's value MUST be a schema, and the property's\nname MUST be the name of the instance property that it defines. The\ninstance property value MUST be valid according to the schema from\nthe property definition. Properties are considered unordered, the\norder of the instance properties MAY be in any order.", + "$ref": "#/definitions/Record" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "object" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "JSONSchema4OneOfSchema": { + "type": "object", + "properties": { + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "oneOf" + ] + }, + "JSONSchema4RefSchema": { + "type": "object", + "properties": { + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "$ref" + ] + }, + "JSONSchema4StringSchema": { + "type": "object", + "properties": { + "enum": { + "type": "array", + "items": { + "type": "string" + } + }, + "format": { + "description": "The `format` keyword allows for basic semantic identification of certain\nkinds of string values that are commonly used.\n\nFor example, because JSON doesn’t have a “DateTime” type, dates need to be\nencoded as strings. `format` allows the schema author to indicate that the\nstring value should be interpreted as a date.\n\najv v6 provides a few built-in formats - all other strings will cause AJV\nto throw during schema compilation", + "enum": [ + "date", + "date-time", + "email", + "hostname", + "ipv4", + "ipv6", + "json-pointer", + "json-pointer-uri-fragment", + "regex", + "relative-json-pointer", + "time", + "uri", + "uri-reference", + "uri-template", + "url", + "uuid" + ], + "type": "string" + }, + "maxLength": { + "description": "The maximum allowed length for the string", + "type": "integer" + }, + "minLength": { + "description": "The minimum allowed length for the string", + "type": "integer" + }, + "pattern": { + "description": "The `pattern` keyword is used to restrict a string to a particular regular\nexpression. The regular expression syntax is the one defined in JavaScript\n(ECMA 262 specifically) with Unicode support.\n\nWhen defining the regular expressions, it’s important to note that the\nstring is considered valid if the expression matches anywhere within the\nstring. For example, the regular expression \"p\" will match any string with\na p in it, such as \"apple\" not just a string that is simply \"p\". Therefore,\nit is usually less confusing, as a matter of course, to surround the\nregular expression in ^...$, for example, \"^p$\", unless there is a good\nreason not to do so.", + "type": "string" + }, + "type": { + "description": "A single type, or a union of simple types", + "type": "string", + "const": "string" + }, + "$defs": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "$ref": { + "description": "Path to a schema defined in `definitions`/`$defs` that will form the base\nfor this schema.\n\nIf you are defining an \"array\" schema (`schema: [ ... ]`) for your rule\nthen you should prefix this with `items/0` so that the validator can find\nyour definitions.\n\neg: `'#/items/0/definitions/myDef'`\n\nOtherwise if you are defining an \"object\" schema (`schema: { ... }`) for\nyour rule you can directly reference your definitions\n\neg: `'#/definitions/myDef'`", + "type": "string" + }, + "$schema": { + "type": "string" + }, + "allOf": { + "description": "(AND) Must be valid against all of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "anyOf": { + "description": "(OR) Must be valid against any of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "default": { + "description": "The default value for the item if not present", + "anyOf": [ + { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "$ref": "#/definitions/JSONSchema4TypeExtended" + } + }, + "properties": { + "length": { + "type": "integer" + }, + "__@unscopables@691": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[0-9]+$": { + "type": "boolean" + } + }, + "properties": { + "length": { + "type": "boolean" + }, + "toString": { + "type": "boolean" + }, + "toLocaleString": { + "type": "boolean" + }, + "pop": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "concat": { + "type": "boolean" + }, + "join": { + "type": "boolean" + }, + "reverse": { + "type": "boolean" + }, + "shift": { + "type": "boolean" + }, + "slice": { + "type": "boolean" + }, + "sort": { + "type": "boolean" + }, + "splice": { + "type": "boolean" + }, + "unshift": { + "type": "boolean" + }, + "indexOf": { + "type": "boolean" + }, + "lastIndexOf": { + "type": "boolean" + }, + "every": { + "type": "boolean" + }, + "some": { + "type": "boolean" + }, + "forEach": { + "type": "boolean" + }, + "map": { + "type": "boolean" + }, + "filter": { + "type": "boolean" + }, + "reduce": { + "type": "boolean" + }, + "reduceRight": { + "type": "boolean" + }, + "find": { + "type": "boolean" + }, + "findIndex": { + "type": "boolean" + }, + "fill": { + "type": "boolean" + }, + "copyWithin": { + "type": "boolean" + }, + "entries": { + "type": "boolean" + }, + "keys": { + "type": "boolean" + }, + "values": { + "type": "boolean" + }, + "includes": { + "type": "boolean" + }, + "flatMap": { + "type": "boolean" + }, + "flat": { + "type": "boolean" + }, + "at": { + "type": "boolean" + }, + "findLast": { + "type": "boolean" + }, + "findLastIndex": { + "type": "boolean" + }, + "toReversed": { + "type": "boolean" + }, + "toSorted": { + "type": "boolean" + }, + "toSpliced": { + "type": "boolean" + }, + "with": { + "type": "boolean" + }, + "containsAll": { + "type": "boolean" + }, + "partition": { + "type": "boolean" + }, + "single": { + "type": "boolean" + }, + "forEachAsync": { + "type": "boolean" + }, + "remove": { + "type": "boolean" + }, + "first": { + "type": "boolean" + }, + "last": { + "type": "boolean" + }, + "distinct": { + "type": "boolean" + }, + "distinctBy": { + "type": "boolean" + }, + "intersect": { + "type": "boolean" + }, + "except": { + "type": "boolean" + }, + "__@iterator@658": { + "type": "boolean" + }, + "__@unscopables@691": { + "type": "boolean" + } + } + } + }, + "required": [ + "__@unscopables@691", + "length" + ] + }, + { + "$ref": "#/definitions/JSONSchema4Object" + }, + { + "type": [ + "null", + "string", + "integer", + "boolean" + ] + } + ] + }, + "definitions": { + "description": "Reusable definitions that can be referenced via `$ref`", + "$ref": "#/definitions/Record" + }, + "description": { + "description": "This attribute is a string that provides a full description of the of\npurpose the instance property.", + "type": "string" + }, + "extends": { + "description": "The value of this property MUST be another schema which will provide\na base schema which the current schema will inherit from. The\ninheritance rules are such that any instance that is valid according\nto the current schema MUST be valid according to the referenced\nschema. This MAY also be an array, in which case, the instance MUST\nbe valid for all the schemas in the array. A schema that extends\nanother schema MAY define additional attributes, constrain existing\nattributes, or add other constraints.\n\nConceptually, the behavior of extends can be seen as validating an\ninstance against all constraints in the extending schema as well as\nthe extended schema(s).", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "string" + } + ] + }, + "id": { + "type": "string" + }, + "not": { + "description": "(NOT) Must not be valid against the given schema", + "anyOf": [ + { + "$ref": "#/definitions/JSONSchema4AllOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnyOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4AnySchema" + }, + { + "$ref": "#/definitions/JSONSchema4ArraySchema" + }, + { + "$ref": "#/definitions/JSONSchema4BooleanSchema" + }, + { + "$ref": "#/definitions/JSONSchema4MultiSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NullSchema" + }, + { + "$ref": "#/definitions/JSONSchema4NumberSchema" + }, + { + "$ref": "#/definitions/JSONSchema4ObjectSchema" + }, + { + "$ref": "#/definitions/JSONSchema4OneOfSchema" + }, + { + "$ref": "#/definitions/JSONSchema4RefSchema" + }, + { + "$ref": "#/definitions/JSONSchema4StringSchema" + } + ] + }, + "oneOf": { + "description": "(XOR) Must be valid against exactly one of the sub-schemas", + "type": "array", + "items": { + "$ref": "#/definitions/JSONSchema4" + } + }, + "required": { + "description": "This attribute indicates if the instance must have a value, and not\nbe undefined. This is false by default, making the instance\noptional.", + "anyOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "type": "boolean" + } + ] + }, + "title": { + "description": "This attribute is a string that provides a short description of the\ninstance property.", + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + "Record": { + "type": "object", + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" + }, "AccountStandingResponse": { "type": "object", "properties": { "classifications": { "type": "array", - "items": {} + "items": { + "$ref": "#/definitions/Classification" + } }, "guild_classifications": { "type": "array", - "items": {} + "items": { + "$ref": "#/definitions/GuildClassification" + } }, "account_standing": { "type": "object", "properties": { "state": { - "minimum": 0, - "maximum": 100, - "type": "integer" + "$ref": "#/definitions/AccountStandingState" } }, "additionalProperties": false, @@ -11096,10 +95004,9 @@ "type": "boolean" }, "appeal_eligibility": { - "description": "We don't yet know what these mean, but Discord appears to return \"1\" and \"2\".", "type": "array", "items": { - "type": "integer" + "$ref": "#/definitions/AppealEligibility" } } }, @@ -11114,6 +95021,277 @@ "is_dsa_eligible", "username" ], + "definitions": { + "Classification": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "classification_type": { + "$ref": "#/definitions/ClassificationType" + }, + "description": { + "type": "string" + }, + "explainer_link": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/definitions/ClassificationAction" + } + }, + "max_expiration_time": { + "type": "string" + }, + "flagged_content": { + "type": "array", + "items": {} + }, + "appeal_status": { + "$ref": "#/definitions/AppealStatus" + }, + "is_coppa": { + "type": "boolean" + }, + "is_spam": { + "type": "boolean" + }, + "appeal_ingestion_type": { + "$ref": "#/definitions/AppealIngestionType" + } + }, + "additionalProperties": false, + "required": [ + "actions", + "appeal_ingestion_type", + "appeal_status", + "classification_type", + "description", + "explainer_link", + "flagged_content", + "id", + "is_coppa", + "is_spam", + "max_expiration_time" + ] + }, + "ClassificationType": { + "type": "number", + "enum": [ + 1, + 100, + 200, + 210, + 220, + 230, + 240, + 250, + 280, + 290, + 310, + 320, + 390, + 600, + 650, + 711, + 720, + 3010, + 3030, + 4000, + 4010, + 4130, + 4140, + 5010, + 5090, + 5305, + 5411, + 5440, + 5485 + ] + }, + "ClassificationAction": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "action_type": { + "$ref": "#/definitions/ClassificationActionType" + }, + "descriptions": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "action_type", + "descriptions", + "id" + ] + }, + "ClassificationActionType": { + "type": "number", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 20, + 22 + ] + }, + "AppealStatus": { + "type": "object", + "properties": { + "status": { + "$ref": "#/definitions/AppealStatusValue" + } + }, + "additionalProperties": false, + "required": [ + "status" + ] + }, + "AppealStatusValue": { + "type": "number", + "enum": [ + 1, + 2, + 3 + ] + }, + "AppealIngestionType": { + "type": "number", + "enum": [ + 0, + 1, + 2 + ] + }, + "GuildClassification": { + "type": "object", + "properties": { + "guild_metadata": { + "$ref": "#/definitions/GuildMetadata" + }, + "id": { + "type": "string" + }, + "classification_type": { + "$ref": "#/definitions/ClassificationType" + }, + "description": { + "type": "string" + }, + "explainer_link": { + "type": "string" + }, + "actions": { + "type": "array", + "items": { + "$ref": "#/definitions/ClassificationAction" + } + }, + "max_expiration_time": { + "type": "string" + }, + "flagged_content": { + "type": "array", + "items": {} + }, + "appeal_status": { + "$ref": "#/definitions/AppealStatus" + }, + "is_coppa": { + "type": "boolean" + }, + "is_spam": { + "type": "boolean" + }, + "appeal_ingestion_type": { + "$ref": "#/definitions/AppealIngestionType" + } + }, + "additionalProperties": false, + "required": [ + "actions", + "appeal_ingestion_type", + "appeal_status", + "classification_type", + "description", + "explainer_link", + "flagged_content", + "guild_metadata", + "id", + "is_coppa", + "is_spam", + "max_expiration_time" + ] + }, + "GuildMetadata": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "icon": { + "type": "string" + }, + "member_type": { + "$ref": "#/definitions/GuildMemberType" + } + }, + "additionalProperties": false, + "required": [ + "member_type", + "name" + ] + }, + "GuildMemberType": { + "type": "number", + "enum": [ + 1, + 2 + ] + }, + "AccountStandingState": { + "type": "number", + "enum": [ + 100, + 200, + 300, + 400, + 500 + ] + }, + "AppealEligibility": { + "type": "number", + "enum": [ + 1, + 2, + 3 + ] + } + }, "$schema": "http://json-schema.org/draft-07/schema#" }, "APIErrorResponse": { @@ -12809,7 +96987,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -16959,7 +101136,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -19735,7 +103911,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -23301,7 +107476,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -26494,15 +110668,15 @@ "staff_only": { "type": "boolean" }, + "description": { + "type": "string" + }, "splash": { "type": [ "null", "string" ] }, - "description": { - "type": "string" - }, "features": { "type": "array", "items": { @@ -27306,7 +111480,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -30927,7 +115100,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -34581,7 +118753,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -37927,15 +122098,15 @@ "staff_only": { "type": "boolean" }, + "description": { + "type": "string" + }, "splash": { "type": [ "null", "string" ] }, - "description": { - "type": "string" - }, "features": { "type": "array", "items": { @@ -38475,7 +122646,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -41778,7 +125948,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -44930,7 +129099,7 @@ "length": { "type": "integer" }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "object", "additionalProperties": false, "patternProperties": { @@ -45069,68 +129238,37 @@ "type": "boolean" }, "remove": { - "description": "Removes the given elements from the array, returns modified array", "type": "boolean" }, "first": { - "description": "Returns the first element", "type": "boolean" }, "last": { - "description": "Returns the last element", "type": "boolean" }, - "findMap": { - "description": "Searches for an Element in the given array, applies the callback function to this element and returns the result. Acts as a combination of find and map. The function returns the result of the callback for the first element matching the predicate", + "distinct": { "type": "boolean" }, - "random": { - "description": "Returns a random value of the array", + "distinctBy": { "type": "boolean" }, - "unique": { - "description": "Returns the unique items of the array", + "intersect": { "type": "boolean" }, - "shuffle": { - "description": "Randomizes the item positions in the array, modifies original array", + "except": { "type": "boolean" }, - "insert": { - "description": "Inserts the element at the index, modifies array", + "__@iterator@658": { "type": "boolean" }, - "count": { - "description": "Returns total of found items for specified search", - "type": "boolean" - }, - "similarities": { - "description": "Returns a new array with elements that are both in this array and in the comparison array\nReturns the intersection of the original and the comparison array", - "type": "boolean" - }, - "missing": { - "description": "Returns the difference between the original and the comparison array\nReturns a new array with elements that are in this array, but are missing in the comparison array", - "type": "boolean" - }, - "insertRandom": { - "description": "Inserts the element to a random position in the array, modifies original array", - "type": "boolean" - }, - "randomIndex": { - "description": "Returns a random Index of array", - "type": "boolean" - }, - "__@iterator@679": { - "type": "boolean" - }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "boolean" } } } }, "required": [ - "__@unscopables@681", + "__@unscopables@691", "length" ] }, @@ -45184,7 +129322,7 @@ "length": { "type": "integer" }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "object", "additionalProperties": false, "patternProperties": { @@ -45323,68 +129461,37 @@ "type": "boolean" }, "remove": { - "description": "Removes the given elements from the array, returns modified array", "type": "boolean" }, "first": { - "description": "Returns the first element", "type": "boolean" }, "last": { - "description": "Returns the last element", "type": "boolean" }, - "findMap": { - "description": "Searches for an Element in the given array, applies the callback function to this element and returns the result. Acts as a combination of find and map. The function returns the result of the callback for the first element matching the predicate", + "distinct": { "type": "boolean" }, - "random": { - "description": "Returns a random value of the array", + "distinctBy": { "type": "boolean" }, - "unique": { - "description": "Returns the unique items of the array", + "intersect": { "type": "boolean" }, - "shuffle": { - "description": "Randomizes the item positions in the array, modifies original array", + "except": { "type": "boolean" }, - "insert": { - "description": "Inserts the element at the index, modifies array", + "__@iterator@658": { "type": "boolean" }, - "count": { - "description": "Returns total of found items for specified search", - "type": "boolean" - }, - "similarities": { - "description": "Returns a new array with elements that are both in this array and in the comparison array\nReturns the intersection of the original and the comparison array", - "type": "boolean" - }, - "missing": { - "description": "Returns the difference between the original and the comparison array\nReturns a new array with elements that are in this array, but are missing in the comparison array", - "type": "boolean" - }, - "insertRandom": { - "description": "Inserts the element to a random position in the array, modifies original array", - "type": "boolean" - }, - "randomIndex": { - "description": "Returns a random Index of array", - "type": "boolean" - }, - "__@iterator@679": { - "type": "boolean" - }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "boolean" } } } }, "required": [ - "__@unscopables@681", + "__@unscopables@691", "length" ] }, @@ -45413,7 +129520,7 @@ "length": { "type": "integer" }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "object", "additionalProperties": false, "patternProperties": { @@ -45552,68 +129659,37 @@ "type": "boolean" }, "remove": { - "description": "Removes the given elements from the array, returns modified array", "type": "boolean" }, "first": { - "description": "Returns the first element", "type": "boolean" }, "last": { - "description": "Returns the last element", "type": "boolean" }, - "findMap": { - "description": "Searches for an Element in the given array, applies the callback function to this element and returns the result. Acts as a combination of find and map. The function returns the result of the callback for the first element matching the predicate", + "distinct": { "type": "boolean" }, - "random": { - "description": "Returns a random value of the array", + "distinctBy": { "type": "boolean" }, - "unique": { - "description": "Returns the unique items of the array", + "intersect": { "type": "boolean" }, - "shuffle": { - "description": "Randomizes the item positions in the array, modifies original array", + "except": { "type": "boolean" }, - "insert": { - "description": "Inserts the element at the index, modifies array", + "__@iterator@658": { "type": "boolean" }, - "count": { - "description": "Returns total of found items for specified search", - "type": "boolean" - }, - "similarities": { - "description": "Returns a new array with elements that are both in this array and in the comparison array\nReturns the intersection of the original and the comparison array", - "type": "boolean" - }, - "missing": { - "description": "Returns the difference between the original and the comparison array\nReturns a new array with elements that are in this array, but are missing in the comparison array", - "type": "boolean" - }, - "insertRandom": { - "description": "Inserts the element to a random position in the array, modifies original array", - "type": "boolean" - }, - "randomIndex": { - "description": "Returns a random Index of array", - "type": "boolean" - }, - "__@iterator@679": { - "type": "boolean" - }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "boolean" } } } }, "required": [ - "__@unscopables@681", + "__@unscopables@691", "length" ], "definitions": { @@ -48126,9 +132202,6 @@ "banner": { "type": "string" }, - "unavailable": { - "type": "boolean" - }, "channels": { "type": "array", "items": { @@ -48153,10 +132226,10 @@ "string" ] }, - "splash": { + "description": { "type": "string" }, - "description": { + "splash": { "type": "string" }, "features": { @@ -48252,6 +132325,9 @@ "premium_tier": { "type": "integer" }, + "unavailable": { + "type": "boolean" + }, "welcome_screen": { "$ref": "#/definitions/GuildWelcomeScreen", "description": "DEPRECATED: Look at the new Guild onboarding screens." @@ -48767,7 +132843,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -51989,9 +136064,6 @@ "banner": { "type": "string" }, - "unavailable": { - "type": "boolean" - }, "channels": { "type": "array", "items": { @@ -52016,10 +136088,10 @@ "string" ] }, - "splash": { + "description": { "type": "string" }, - "description": { + "splash": { "type": "string" }, "features": { @@ -52115,6 +136187,9 @@ "premium_tier": { "type": "integer" }, + "unavailable": { + "type": "boolean" + }, "welcome_screen": { "$ref": "#/definitions/GuildWelcomeScreen", "description": "DEPRECATED: Look at the new Guild onboarding screens." @@ -52630,7 +136705,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -58223,7 +142297,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -60705,7 +144778,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -64022,7 +148094,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -67549,7 +151620,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -70741,7 +154811,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -74473,7 +158542,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -78840,7 +162908,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -81074,15 +165141,15 @@ "staff_only": { "type": "boolean" }, + "description": { + "type": "string" + }, "splash": { "type": [ "null", "string" ] }, - "description": { - "type": "string" - }, "features": { "type": "array", "items": { @@ -81662,7 +165729,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -85091,7 +169157,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -89395,7 +173460,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -91561,6 +175625,10 @@ "type": "integer", "default": 2000 }, + "maxStickers": { + "type": "integer", + "default": 500 + }, "maxMembers": { "type": "integer", "default": 25000000 @@ -91585,7 +175653,8 @@ "maxChannelsInCategory", "maxEmojis", "maxMembers", - "maxRoles" + "maxRoles", + "maxStickers" ] }, "MessageLimits": { @@ -92263,7 +176332,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -97152,7 +181220,6 @@ "additionalProperties": false, "required": [ "created_at", - "default_thread_rate_limit_per_user", "flags", "id", "nsfw", @@ -99403,7 +183470,7 @@ "length": { "type": "integer" }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "object", "additionalProperties": false, "patternProperties": { @@ -99542,68 +183609,37 @@ "type": "boolean" }, "remove": { - "description": "Removes the given elements from the array, returns modified array", "type": "boolean" }, "first": { - "description": "Returns the first element", "type": "boolean" }, "last": { - "description": "Returns the last element", "type": "boolean" }, - "findMap": { - "description": "Searches for an Element in the given array, applies the callback function to this element and returns the result. Acts as a combination of find and map. The function returns the result of the callback for the first element matching the predicate", + "distinct": { "type": "boolean" }, - "random": { - "description": "Returns a random value of the array", + "distinctBy": { "type": "boolean" }, - "unique": { - "description": "Returns the unique items of the array", + "intersect": { "type": "boolean" }, - "shuffle": { - "description": "Randomizes the item positions in the array, modifies original array", + "except": { "type": "boolean" }, - "insert": { - "description": "Inserts the element at the index, modifies array", + "__@iterator@658": { "type": "boolean" }, - "count": { - "description": "Returns total of found items for specified search", - "type": "boolean" - }, - "similarities": { - "description": "Returns a new array with elements that are both in this array and in the comparison array\nReturns the intersection of the original and the comparison array", - "type": "boolean" - }, - "missing": { - "description": "Returns the difference between the original and the comparison array\nReturns a new array with elements that are in this array, but are missing in the comparison array", - "type": "boolean" - }, - "insertRandom": { - "description": "Inserts the element to a random position in the array, modifies original array", - "type": "boolean" - }, - "randomIndex": { - "description": "Returns a random Index of array", - "type": "boolean" - }, - "__@iterator@679": { - "type": "boolean" - }, - "__@unscopables@681": { + "__@unscopables@691": { "type": "boolean" } } } }, "required": [ - "__@unscopables@681", + "__@unscopables@691", "length" ] }, @@ -100053,6 +184089,16 @@ "UserSettingsSchema": { "type": "object", "properties": { + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, "explicit_content_filter": { "type": "integer" }, @@ -100153,16 +184199,6 @@ "show_current_game": { "type": "boolean" }, - "status": { - "enum": [ - "dnd", - "idle", - "invisible", - "offline", - "online" - ], - "type": "string" - }, "stream_notifications_enabled": { "type": "boolean" }, diff --git a/src/api/util/handlers/Message.ts b/src/api/util/handlers/Message.ts index 8356ee6..1504faa 100644 --- a/src/api/util/handlers/Message.ts +++ b/src/api/util/handlers/Message.ts @@ -89,6 +89,7 @@ reactions: opts.reactions || [], type: opts.type ?? 0, mentions: [], + components: opts.components ?? undefined, // Fix Discord-Go? }); if (cloudAttachments && cloudAttachments.length > 0) { diff --git a/src/util/schemas/MessageCreateSchema.ts b/src/util/schemas/MessageCreateSchema.ts index 7e59046..f5037d6 100644 --- a/src/util/schemas/MessageCreateSchema.ts +++ b/src/util/schemas/MessageCreateSchema.ts @@ -60,8 +60,8 @@ TODO: OpenWAAO<-->attachment-style metadata conversion **/ attachments?: (MessageCreateAttachment | MessageCreateCloudAttachment)[]; - sticker_ids?: string[]; - components?: ActionRowComponent[]; + sticker_ids?: string[] | null; // null check: fixes Discord-Go + components?: ActionRowComponent[] | null; // null check: fixes Discord-Go // TODO: Fix TypeScript errors in src\api\util\handlers\Message.ts once this is enabled poll?: PollCreationSchema; enforce_nonce?: boolean; // For Discord compatibility, it's the default behavior here