diff --git a/great_expectations/core/usage_statistics/schemas.py b/great_expectations/core/usage_statistics/schemas.py index 18c8ae6d4f09..1cd498eb05bb 100644 --- a/great_expectations/core/usage_statistics/schemas.py +++ b/great_expectations/core/usage_statistics/schemas.py @@ -1189,8 +1189,27 @@ ], } -if __name__ == "__main__": + +def write_schema_to_file(target_dir: str) -> None: + """Utility to write schema to disk. + + The file name will always be "usage_statistics_record_schema.json" but the target directory can be specified. + + Args: + target_dir (str): The dir you wish to write the schema to. + """ import json + import os + + file: str = "usage_statistics_record_schema.json" + out: str = os.path.join(target_dir, file) - with open("usage_statistics_record_schema.json", "w") as outfile: + with open(out, "w") as outfile: json.dump(anonymized_usage_statistics_record_schema, outfile, indent=2) + + +if __name__ == "__main__": + import sys + + target_dir = sys.argv[1] if len(sys.argv) >= 2 else "." + write_schema_to_file(target_dir) diff --git a/great_expectations/core/usage_statistics/usage_statistics_record_schema.json b/great_expectations/core/usage_statistics/usage_statistics_record_schema.json new file mode 100644 index 000000000000..5ee7ec62904a --- /dev/null +++ b/great_expectations/core/usage_statistics/usage_statistics_record_schema.json @@ -0,0 +1,5495 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-usage-statistics-record", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + }, + "anonymized_datasource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + } + }, + "anyOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "sqlalchemy_dialect": { + "type": "string", + "maxLength": 256 + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + }, + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "sqlalchemy_dialect": { + "type": "string", + "maxLength": 256 + }, + "anonymized_execution_engine": { + "$ref": "#/definitions/anonymized_class_info" + }, + "anonymized_data_connectors": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_class_info" + } + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_store": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-store", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_store_backend": { + "$ref": "#/definitions/anonymized_class_info" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + }, + "anonymized_validation_operator": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validation-operator", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_action_list": { + "$ref": "#/definitions/anonymized_action_list" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + }, + "empty_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "empty-payload", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "anonymized_init_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-init-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + }, + "anonymized_datasource": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + } + }, + "anyOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "sqlalchemy_dialect": { + "type": "string", + "maxLength": 256 + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + }, + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "sqlalchemy_dialect": { + "type": "string", + "maxLength": 256 + }, + "anonymized_execution_engine": { + "$ref": "#/definitions/anonymized_class_info" + }, + "anonymized_data_connectors": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_class_info" + } + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_validation_operator": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validation-operator", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_action_list": { + "$ref": "#/definitions/anonymized_action_list" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_data_docs_site": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-data-docs-site", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_store_backend": { + "$ref": "#/definitions/anonymized_class_info" + }, + "anonymized_site_index_builder": { + "$ref": "#/definitions/anonymized_class_info" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_store": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-store", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_store_backend": { + "$ref": "#/definitions/anonymized_class_info" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + }, + "anonymized_expectation_suite": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-expectation-suite", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_count": { + "type": "number" + }, + "anonymized_expectation_type_counts": { + "type": "object" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_count": { + "type": "number" + }, + "anonymized_expectation_counts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "expectation_type": { + "type": "string" + }, + "anonymized_expectation_type": { + "$ref": "#/definitions/anonymized_string" + }, + "count": { + "type": "number" + } + } + } + } + }, + "additionalProperties": false + } + ] + }, + "package_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "package-info", + "type": "object", + "properties": { + "package_name": { + "type": "string", + "maxLength": 256 + }, + "installed": { + "type": "boolean" + }, + "install_environment": { + "enum": [ + "dev", + "required" + ] + }, + "version": { + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false + } + }, + "type": "object", + "properties": { + "version": { + "enum": [ + "1.0.0" + ] + }, + "platform.system": { + "type": "string", + "maxLength": 256 + }, + "platform.release": { + "type": "string", + "maxLength": 256 + }, + "version_info": { + "type": "string", + "maxLength": 256 + }, + "anonymized_datasources": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_datasource" + } + }, + "anonymized_stores": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_store" + } + }, + "anonymized_validation_operators": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_validation_operator" + } + }, + "anonymized_data_docs_sites": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_data_docs_site" + } + }, + "anonymized_expectation_suites": { + "type": "array", + "items": { + "$ref": "#/definitions/anonymized_expectation_suite" + } + }, + "dependencies": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/package_info" + } + } + }, + "required": [ + "platform.system", + "platform.release", + "version_info", + "anonymized_datasources", + "anonymized_stores", + "anonymized_data_docs_sites", + "anonymized_expectation_suites" + ], + "additionalProperties": false + }, + "anonymized_run_validation_operator_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-run-validation-operator-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_batch_kwarg_keys": { + "type": "array", + "maxItems": 1000, + "items": { + "oneOf": [ + { + "type": "string", + "maxLength": 256 + } + ] + } + }, + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + } + }, + "additionalProperties": false, + "required": [ + "anonymized_batch_kwarg_keys", + "anonymized_expectation_suite_name", + "anonymized_datasource_name" + ] + } + ] + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_operator_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batches": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_batch" + } + } + }, + "required": [ + "anonymized_operator_name" + ], + "additionalProperties": false + }, + "anonymized_data_docs_site": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-data-docs-site", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_store_backend": { + "$ref": "#/definitions/anonymized_class_info" + }, + "anonymized_site_index_builder": { + "$ref": "#/definitions/anonymized_class_info" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_batch": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_batch_kwarg_keys": { + "type": "array", + "maxItems": 1000, + "items": { + "oneOf": [ + { + "type": "string", + "maxLength": 256 + } + ] + } + }, + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + } + }, + "additionalProperties": false, + "required": [ + "anonymized_batch_kwarg_keys", + "anonymized_expectation_suite_name", + "anonymized_datasource_name" + ] + } + ] + }, + "anonymized_expectation_suite": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-expectation-suite", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_count": { + "type": "number" + }, + "anonymized_expectation_type_counts": { + "type": "object" + } + }, + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_count": { + "type": "number" + }, + "anonymized_expectation_counts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "expectation_type": { + "type": "string" + }, + "anonymized_expectation_type": { + "$ref": "#/definitions/anonymized_string" + }, + "count": { + "type": "number" + } + } + } + } + }, + "additionalProperties": false + } + ] + }, + "anonymized_save_or_edit_expectation_suite_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-save-or-edit-expectation-suite-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_expectation_suite_name" + ], + "additionalProperties": false + }, + "anonymized_cli_suite_expectation_suite_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-cli-suite-expectation-suite-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "interactive_flag": { + "type": [ + "boolean", + "null" + ] + }, + "interactive_attribution": { + "enum": [ + "unprompted_interactive_absent_manual_absent", + "unprompted_interactive_present_manual_absent", + "unprompted_interactive_absent_manual_present", + "unprompted_override_interactive_absent_manual_absent_profile_present", + "unprompted_override_interactive_present_manual_absent_profile_present", + "unprompted_override_interactive_absent_manual_present_profile_present", + "unprompted_override_interactive_absent_manual_absent_batch_request_specified", + "unprompted_override_interactive_absent_manual_present_batch_request_specified", + "unprompted_override_interactive_absent_manual_absent_datasource_specified", + "unprompted_override_interactive_present_manual_absent_datasource_specified", + "unprompted_override_interactive_absent_manual_present_datasource_specified", + "propmpted_choice_false_default", + "prompted_choice_false", + "prompted_choice_true_profile_false", + "prompted_choice_true_profile_true", + "prompted_choice_true", + "error_interactive_present_manual_present", + "error_datasource_specified_batch_request_specified", + "unknown" + ] + }, + "api_version": { + "type": "string", + "maxLength": 256 + }, + "cancelled": { + "type": [ + "boolean", + "null" + ] + } + } + }, + "anonymized_cli_suite_new_expectation_suite_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-cli-suite-new-expectation-suite-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_cli_suite_expectation_suite_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-cli-suite-expectation-suite-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "interactive_flag": { + "type": [ + "boolean", + "null" + ] + }, + "interactive_attribution": { + "enum": [ + "unprompted_interactive_absent_manual_absent", + "unprompted_interactive_present_manual_absent", + "unprompted_interactive_absent_manual_present", + "unprompted_override_interactive_absent_manual_absent_profile_present", + "unprompted_override_interactive_present_manual_absent_profile_present", + "unprompted_override_interactive_absent_manual_present_profile_present", + "unprompted_override_interactive_absent_manual_absent_batch_request_specified", + "unprompted_override_interactive_absent_manual_present_batch_request_specified", + "unprompted_override_interactive_absent_manual_absent_datasource_specified", + "unprompted_override_interactive_present_manual_absent_datasource_specified", + "unprompted_override_interactive_absent_manual_present_datasource_specified", + "propmpted_choice_false_default", + "prompted_choice_false", + "prompted_choice_true_profile_false", + "prompted_choice_true_profile_true", + "prompted_choice_true", + "error_interactive_present_manual_present", + "error_datasource_specified_batch_request_specified", + "unknown" + ] + }, + "api_version": { + "type": "string", + "maxLength": 256 + }, + "cancelled": { + "type": [ + "boolean", + "null" + ] + } + } + } + }, + "items": { + "$ref": "#/definitions/anonymized_cli_suite_expectation_suite_payload", + "properties": { + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false + } + }, + "anonymized_cli_suite_edit_expectation_suite_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-cli-suite-edit-expectation-suite-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_cli_suite_expectation_suite_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-cli-suite-expectation-suite-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "interactive_flag": { + "type": [ + "boolean", + "null" + ] + }, + "interactive_attribution": { + "enum": [ + "unprompted_interactive_absent_manual_absent", + "unprompted_interactive_present_manual_absent", + "unprompted_interactive_absent_manual_present", + "unprompted_override_interactive_absent_manual_absent_profile_present", + "unprompted_override_interactive_present_manual_absent_profile_present", + "unprompted_override_interactive_absent_manual_present_profile_present", + "unprompted_override_interactive_absent_manual_absent_batch_request_specified", + "unprompted_override_interactive_absent_manual_present_batch_request_specified", + "unprompted_override_interactive_absent_manual_absent_datasource_specified", + "unprompted_override_interactive_present_manual_absent_datasource_specified", + "unprompted_override_interactive_absent_manual_present_datasource_specified", + "propmpted_choice_false_default", + "prompted_choice_false", + "prompted_choice_true_profile_false", + "prompted_choice_true_profile_true", + "prompted_choice_true", + "error_interactive_present_manual_present", + "error_datasource_specified_batch_request_specified", + "unknown" + ] + }, + "api_version": { + "type": "string", + "maxLength": 256 + }, + "cancelled": { + "type": [ + "boolean", + "null" + ] + } + } + } + }, + "items": { + "$ref": "#/definitions/anonymized_cli_suite_expectation_suite_payload", + "properties": { + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_expectation_suite_name" + ], + "additionalProperties": false + } + }, + "anonymized_cli_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-cli-payload", + "type": "object", + "properties": { + "api_version": { + "type": "string", + "maxLength": 256 + }, + "cancelled": { + "type": [ + "boolean", + "null" + ] + } + }, + "additionalProperties": false + }, + "anonymized_cli_new_ds_choice_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-cli-new-ds-choice-payload", + "type": "object", + "properties": { + "type": { + "type": "string", + "maxLength": 256 + }, + "db": { + "type": "string", + "maxLength": 256 + }, + "api_version": { + "type": "string", + "maxLength": 256 + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + "anonymized_datasource_sqlalchemy_connect_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-sqlalchemy-connect-payload", + "type": "object", + "properties": { + "anonymized_name": { + "type": "string", + "maxLength": 256 + }, + "sqlalchemy_dialect": { + "type": "string", + "maxLength": 256 + } + }, + "required": [ + "anonymized_name" + ], + "additionalProperties": false + }, + "anonymized_test_yaml_config_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-test-yaml-config-payload", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_class_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-class-info", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": true, + "required": [ + "parent_class" + ] + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "diagnostic_info": { + "type": "array", + "maxItems": 1000, + "items": { + "enum": [ + "__substitution_error__", + "__yaml_parse_error__", + "__custom_subclass_not_core_ge__", + "__class_name_not_provided__" + ] + } + }, + "anonymized_store_backend": { + "$ref": "#/definitions/anonymized_class_info" + }, + "sqlalchemy_dialect": { + "type": "string", + "maxLength": 256 + }, + "anonymized_execution_engine": { + "$ref": "#/definitions/anonymized_class_info" + }, + "anonymized_data_connectors": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_class_info" + } + } + }, + "additionalProperties": false + }, + "anonymized_validation": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validation", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + } + }, + "type": "object", + "properties": { + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + }, + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_action_list": { + "$ref": "#/definitions/anonymized_action_list" + } + }, + "additionalProperties": false + }, + "anonymized_validations": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validations", + "definitions": { + "anonymized_validation": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validation", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + } + }, + "type": "object", + "properties": { + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + }, + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_action_list": { + "$ref": "#/definitions/anonymized_action_list" + } + }, + "additionalProperties": false + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_validation" + } + }, + "anonymized_checkpoint_run": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-checkpoint-run-payload", + "definitions": { + "empty_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "empty-payload", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + }, + "anonymized_run_time": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-run-time", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "format": "date-time" + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + }, + "anonymized_validation": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validation", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + } + }, + "type": "object", + "properties": { + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + }, + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_action_list": { + "$ref": "#/definitions/anonymized_action_list" + } + }, + "additionalProperties": false + }, + "anonymized_validations": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validations", + "definitions": { + "anonymized_validation": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-validation", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_action_list": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action-list", + "definitions": { + "anonymized_action": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-action", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class", + "anonymized_name" + ] + } + ] + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_action" + } + } + }, + "type": "object", + "properties": { + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + }, + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_action_list": { + "$ref": "#/definitions/anonymized_action_list" + } + }, + "additionalProperties": false + } + }, + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_validation" + } + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "config_version": { + "type": "number", + "minimum": 1 + }, + "anonymized_template_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_run_name_template": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_expectation_suite_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + }, + "anonymized_action_list": { + "$ref": "#/definitions/anonymized_action_list" + }, + "anonymized_validations": { + "$ref": "#/definitions/anonymized_validations" + }, + "anonymized_run_id": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_run_name": { + "$ref": "#/definitions/anonymized_run_name" + }, + "anonymized_run_time": { + "$ref": "#/definitions/anonymized_run_time" + }, + "anonymized_expectation_suite_ge_cloud_id": { + "$ref": "#/definitions/anonymized_string" + }, + "checkpoint_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 3, + "items": { + "type": "string", + "enum": [ + "evaluation_parameters", + "runtime_configuration", + "profilers" + ] + }, + "uniqueItems": true + } + }, + "required": [ + "anonymized_name", + "config_version" + ], + "additionalProperties": false + }, + { + "$ref": "#/definitions/empty_payload" + } + ] + }, + "anonymized_legacy_profiler_build_suite_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-legacy-profiler-build-suite-payload", + "type": "object", + "properties": { + "profile_dataset_type": { + "type": "string", + "maxLength": 256 + }, + "excluded_expectations_specified": { + "type": [ + "boolean" + ] + }, + "ignored_columns_specified": { + "type": [ + "boolean" + ] + }, + "not_null_only": { + "type": [ + "boolean" + ] + }, + "primary_or_compound_key_specified": { + "type": [ + "boolean" + ] + }, + "semantic_types_dict_specified": { + "type": [ + "boolean" + ] + }, + "table_expectations_only": { + "type": [ + "boolean" + ] + }, + "value_set_threshold_specified": { + "type": [ + "boolean" + ] + }, + "api_version": { + "type": "string", + "maxLength": 256 + } + }, + "required": [ + "profile_dataset_type", + "excluded_expectations_specified", + "ignored_columns_specified", + "not_null_only", + "primary_or_compound_key_specified", + "semantic_types_dict_specified", + "table_expectations_only", + "value_set_threshold_specified", + "api_version" + ], + "additionalProperties": false + }, + "anonymized_domain_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-domain-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + }, + "anonymized_parameter_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-parameter-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "anonymized_name", + "parent_class" + ] + }, + "anonymized_expectation_configuration_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-expectation-configuration-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_type": { + "type": "string", + "maxLength": 256 + }, + "anonymized_expectation_type": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_condition": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + }, + "anonymized_rule": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-rules", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_domain_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-domain-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + }, + "anonymized_parameter_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-parameter-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "anonymized_name", + "parent_class" + ] + }, + "anonymized_expectation_configuration_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-expectation-configuration-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_type": { + "type": "string", + "maxLength": 256 + }, + "anonymized_expectation_type": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_condition": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + } + }, + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_domain_builder": { + "$ref": "#/definitions/anonymized_domain_builder" + }, + "anonymized_parameter_builders": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_parameter_builder" + } + }, + "anonymized_expectation_configuration_builders": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_expectation_configuration_builder" + } + } + }, + "additionalProperties": false, + "required": [ + "anonymized_name", + "anonymized_expectation_configuration_builders" + ] + }, + "anonymized_rule_based_profiler_run": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-rule-based-profiler-run-payload", + "definitions": { + "empty_payload": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "empty-payload", + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_rule": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-rules", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_domain_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-domain-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + }, + "anonymized_parameter_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-parameter-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "anonymized_name", + "parent_class" + ] + }, + "anonymized_expectation_configuration_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-expectation-configuration-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_type": { + "type": "string", + "maxLength": 256 + }, + "anonymized_expectation_type": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_condition": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + } + }, + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_domain_builder": { + "$ref": "#/definitions/anonymized_domain_builder" + }, + "anonymized_parameter_builders": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_parameter_builder" + } + }, + "anonymized_expectation_configuration_builders": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_expectation_configuration_builder" + } + } + }, + "additionalProperties": false, + "required": [ + "anonymized_name", + "anonymized_expectation_configuration_builders" + ] + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_domain_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-domain-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + }, + "anonymized_parameter_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-parameter-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_batch_request": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-batch-request", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_batch_request_required_top_level_properties": { + "type": "object", + "properties": { + "anonymized_datasource_name": { + "$ref": "#/definitions/anonymized_datasource_name" + }, + "anonymized_data_connector_name": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_data_asset_name": { + "$ref": "#/definitions/anonymized_string" + } + }, + "required": [ + "anonymized_datasource_name", + "anonymized_data_connector_name", + "anonymized_data_asset_name" + ], + "additionalProperties": false + }, + "batch_request_optional_top_level_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_identifiers", + "batch_spec_passthrough", + "data_connector_query", + "runtime_parameters" + ] + }, + "uniqueItems": true + }, + "data_connector_query_keys": { + "type": "array", + "minItems": 1, + "maxItems": 4, + "items": { + "type": "string", + "enum": [ + "batch_filter_parameters", + "custom_filter_function", + "index", + "limit" + ] + }, + "uniqueItems": true + }, + "runtime_parameters_keys": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "string", + "enum": [ + "batch_data", + "query", + "path" + ] + } + }, + "batch_spec_passthrough_keys": { + "type": "array", + "minItems": 1, + "maxItems": 6, + "items": { + "type": "string", + "enum": [ + "reader_method", + "reader_options", + "sampling_method", + "sampling_kwargs", + "splitter_method", + "splitter_kwargs" + ] + }, + "uniqueItems": true + } + }, + "additionalProperties": false + }, + "anonymized_datasource_name": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-datasource-name", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "$ref": "#/definitions/anonymized_string" + } + ] + } + }, + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_batch_request": { + "$ref": "#/definitions/anonymized_batch_request" + } + }, + "additionalProperties": false, + "required": [ + "anonymized_name", + "parent_class" + ] + }, + "anonymized_expectation_configuration_builder": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-expectation-configuration-builder", + "definitions": { + "anonymized_string": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "anonymized-string", + "type": "string", + "minLength": 32, + "maxLength": 32 + } + }, + "type": "object", + "properties": { + "parent_class": { + "type": "string", + "maxLength": 256 + }, + "anonymized_class": { + "$ref": "#/definitions/anonymized_string" + }, + "expectation_type": { + "type": "string", + "maxLength": 256 + }, + "anonymized_expectation_type": { + "$ref": "#/definitions/anonymized_string" + }, + "anonymized_condition": { + "$ref": "#/definitions/anonymized_string" + } + }, + "additionalProperties": false, + "required": [ + "parent_class" + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "anonymized_name": { + "$ref": "#/definitions/anonymized_string" + }, + "config_version": { + "type": "number", + "minimum": 1 + }, + "rule_count": { + "type": "number", + "minimum": 0 + }, + "variable_count": { + "type": "number", + "minimum": 0 + }, + "anonymized_rules": { + "type": "array", + "maxItems": 1000, + "items": { + "$ref": "#/definitions/anonymized_rule" + } + } + }, + "required": [ + "anonymized_name", + "config_version", + "rule_count", + "variable_count", + "anonymized_rules" + ], + "additionalProperties": false + }, + { + "$ref": "#/definitions/empty_payload" + } + ] + }, + "package_info": { + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "package-info", + "type": "object", + "properties": { + "package_name": { + "type": "string", + "maxLength": 256 + }, + "installed": { + "type": "boolean" + }, + "install_environment": { + "enum": [ + "dev", + "required" + ] + }, + "version": { + "anyOf": [ + { + "type": "string", + "maxLength": 256 + }, + { + "type": "null" + } + ] + } + }, + "additionalProperties": false + } + }, + "type": "object", + "properties": { + "version": { + "enum": [ + "1.0.0" + ] + }, + "ge_version": { + "type": "string", + "maxLength": 32 + }, + "data_context_id": { + "type": "string", + "format": "uuid" + }, + "data_context_instance_id": { + "type": "string", + "format": "uuid" + }, + "event_time": { + "type": "string", + "format": "date-time" + }, + "event_duration": { + "type": "number" + }, + "x-forwarded-for": { + "type": "string" + }, + "success": { + "type": [ + "boolean", + "null" + ] + } + }, + "oneOf": [ + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_context.__init__" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_init_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_context.save_expectation_suite" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_save_or_edit_expectation_suite_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_context.run_validation_operator" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_run_validation_operator_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_context.get_batch_list" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_batch_request" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_asset.validate" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_batch" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "cli.new_ds_choice" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_cli_new_ds_choice_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_context.add_datasource" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_datasource" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "datasource.sqlalchemy.connect", + "execution_engine.sqlalchemy.connect" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_datasource_sqlalchemy_connect_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_context.build_data_docs", + "data_context.open_data_docs", + "data_context.run_checkpoint", + "expectation_suite.add_expectation", + "data_context.run_profiler_with_dynamic_arguments", + "data_context.run_profiler_on_data" + ] + }, + "event_payload": { + "$ref": "#/definitions/empty_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "data_context.test_yaml_config" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_test_yaml_config_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "cli.suite.new", + "cli.suite.new.begin", + "cli.suite.new.end" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_cli_suite_new_expectation_suite_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "cli.suite.edit", + "cli.suite.edit.begin", + "cli.suite.edit.end" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_cli_suite_edit_expectation_suite_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "checkpoint.run" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_checkpoint_run" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "legacy_profiler.build_suite" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_legacy_profiler_build_suite_payload" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "profiler.run" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_rule_based_profiler_run" + } + } + }, + { + "type": "object", + "properties": { + "event": { + "enum": [ + "cli.checkpoint.delete", + "cli.checkpoint.delete.begin", + "cli.checkpoint.delete.end", + "cli.checkpoint.list", + "cli.checkpoint.list.begin", + "cli.checkpoint.list.end", + "cli.checkpoint.new", + "cli.checkpoint.new.begin", + "cli.checkpoint.new.end", + "cli.checkpoint.run", + "cli.checkpoint.run.begin", + "cli.checkpoint.run.end", + "cli.checkpoint.script", + "cli.checkpoint.script.begin", + "cli.checkpoint.script.end", + "cli.datasource.list", + "cli.datasource.list.begin", + "cli.datasource.list.end", + "cli.datasource.new", + "cli.datasource.new.begin", + "cli.datasource.new.end", + "cli.datasource.delete", + "cli.datasource.delete.begin", + "cli.datasource.delete.end", + "cli.datasource.profile", + "cli.docs.build", + "cli.docs.build.begin", + "cli.docs.build.end", + "cli.docs.clean", + "cli.docs.clean.begin", + "cli.docs.clean.end", + "cli.docs.list", + "cli.docs.list.begin", + "cli.docs.list.end", + "cli.init.create", + "cli.project.check_config", + "cli.project.upgrade.begin", + "cli.project.upgrade.end", + "cli.store.list", + "cli.store.list.begin", + "cli.store.list.end", + "cli.suite.delete", + "cli.suite.delete.begin", + "cli.suite.delete.end", + "cli.suite.demo", + "cli.suite.demo.begin", + "cli.suite.demo.end", + "cli.suite.list", + "cli.suite.list.begin", + "cli.suite.list.end", + "cli.suite.scaffold", + "cli.validation_operator.list", + "cli.validation_operator.run" + ] + }, + "event_payload": { + "$ref": "#/definitions/anonymized_cli_payload" + } + } + } + ], + "required": [ + "version", + "event_time", + "data_context_id", + "data_context_instance_id", + "ge_version", + "event", + "success", + "event_payload" + ] +} diff --git a/tests/core/usage_statistics/test_usage_stats_schema.py b/tests/core/usage_statistics/test_usage_stats_schema.py index 6c70e6261c2b..e669dd0bdfd8 100644 --- a/tests/core/usage_statistics/test_usage_stats_schema.py +++ b/tests/core/usage_statistics/test_usage_stats_schema.py @@ -1,3 +1,5 @@ +import json + import jsonschema from great_expectations.core.usage_statistics.events import UsageStatsEvents @@ -17,6 +19,7 @@ anonymized_usage_statistics_record_schema, empty_payload_schema, ) +from great_expectations.data_context.util import file_relative_path from tests.integration.usage_statistics.test_usage_statistics_messages import ( valid_usage_statistics_messages, ) @@ -399,3 +402,14 @@ def test_rule_based_profiler_run_message(): message["event_payload"], anonymized_rule_based_profiler_run_schema, ) + + +def test_usage_stats_schema_in_codebase_is_up_to_date() -> None: + path: str = file_relative_path( + __file__, + "../../../great_expectations/core/usage_statistics/usage_statistics_record_schema.json", + ) + with open(path) as f: + contents: dict = json.load(f) + + assert contents == anonymized_usage_statistics_record_schema