From ea9a6cbb77129e6620db4bd819ead909bc217c59 Mon Sep 17 00:00:00 2001 From: Miles Georgi Date: Fri, 15 Mar 2024 15:22:31 -0700 Subject: [PATCH] Regenerate test manifest json --- spec/fixtures/foobara-manifest.json | 15853 +++++++++++++++++--------- 1 file changed, 10266 insertions(+), 5587 deletions(-) diff --git a/spec/fixtures/foobara-manifest.json b/spec/fixtures/foobara-manifest.json index 0ae9976..015a7c7 100644 --- a/spec/fixtures/foobara-manifest.json +++ b/spec/fixtures/foobara-manifest.json @@ -3895,9 +3895,9 @@ "symbol" ] }, - "NestedModels::CreateNested": { + "NestedModels3::CreateNested": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", @@ -3909,17 +3909,17 @@ "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" } }, "type": "attributes" }, "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "type": "array" } @@ -3927,7 +3927,7 @@ "type": "attributes" }, "inputs_types_depended_on": [ - "NestedModels::OuterModel", + "NestedModels3::OuterModel", "array", "attributes", "duck", @@ -3936,7 +3936,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.attr1.cannot_cast": { @@ -3951,7 +3951,7 @@ "cast_to": { "element_type_declarations": { "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" } }, "type": "attributes" @@ -3977,7 +3977,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -4045,7 +4045,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -4057,11 +4057,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -4074,8 +4074,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -4131,7 +4131,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } } }, @@ -4155,7 +4155,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -4168,11 +4168,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -4243,7 +4243,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -4255,11 +4255,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -4272,8 +4272,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -4332,7 +4332,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -4344,11 +4344,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -4361,8 +4361,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -4384,7 +4384,7 @@ "casting": { "cast_to": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -4427,7 +4427,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -4440,11 +4440,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -4462,7 +4462,7 @@ "processor_manifest_data": { "element_type_declarations": { "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" } } }, @@ -4480,17 +4480,17 @@ "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" } }, "type": "attributes" }, "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "type": "array" } @@ -4517,7 +4517,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -4582,7 +4582,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -4594,11 +4594,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -4611,8 +4611,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -4665,7 +4665,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } } }, @@ -4688,7 +4688,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -4701,11 +4701,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -4773,7 +4773,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -4785,11 +4785,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -4802,8 +4802,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -4859,7 +4859,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -4871,11 +4871,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -4888,8 +4888,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -4910,7 +4910,7 @@ "casting": { "cast_to": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -4951,7 +4951,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -4964,11 +4964,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -4993,7 +4993,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -5061,7 +5061,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -5073,11 +5073,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -5090,8 +5090,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -5147,7 +5147,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } } }, @@ -5171,7 +5171,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -5184,11 +5184,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -5259,7 +5259,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -5271,11 +5271,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -5288,8 +5288,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -5348,7 +5348,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -5360,11 +5360,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -5377,8 +5377,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels::Types::InnerEntity", - "model_module": "NestedModels::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -5400,7 +5400,7 @@ "casting": { "cast_to": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -5443,7 +5443,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -5456,11 +5456,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -5479,7 +5479,7 @@ "casting": { "cast_to": { "element_type_declaration": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "type": "array" } @@ -5497,17 +5497,17 @@ "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" } }, "type": "attributes" }, "outer_model": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "type": "array" } @@ -5516,17 +5516,17 @@ "symbol": "unexpected_attributes" } }, - "reference": "NestedModels::CreateNested", + "reference": "NestedModels3::CreateNested", "result_type": { - "type": "NestedModels::OuterEntity" + "type": "NestedModels3::OuterEntity" }, "result_types_depended_on": [ - "NestedModels::OuterEntity" + "NestedModels3::OuterEntity" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::CreateNested", + "scoped_full_name": "NestedModels3::CreateNested", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "CreateNested" ], "scoped_name": "CreateNested", @@ -5540,42 +5540,43 @@ "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModels::OuterEntity", - "NestedModels::OuterModel", + "NestedModels3::OuterEntity", + "NestedModels3::OuterModel", "array", "attributes", "duck", "symbol" ] }, - "NestedModels::FindNested": { + "NestedModels3::FindNested": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -5587,8 +5588,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -5597,17 +5598,55 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, @@ -5620,25 +5659,31 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindNested::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, - "reference": "NestedModels::FindNested", + "reference": "NestedModels3::FindNested", "result_type": { - "type": "NestedModels::OuterEntity" + "type": "NestedModels3::OuterEntity" }, "result_types_depended_on": [ - "NestedModels::OuterEntity" + "NestedModels3::OuterEntity" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindNested", + "scoped_full_name": "NestedModels3::FindNested", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindNested" ], "scoped_name": "FindNested", @@ -5652,42 +5697,43 @@ "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindNestedAggregate": { + "NestedModels3::FindNestedAggregate": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -5699,8 +5745,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -5709,17 +5755,55 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, @@ -5732,12 +5816,18 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindNested::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, "pre_commit_transformers": [ @@ -5770,17 +5860,17 @@ "scoped_short_name": "LoadAggregatesPreCommitTransformer" } ], - "reference": "NestedModels::FindNestedAggregate", + "reference": "NestedModels3::FindNestedAggregate", "result_type": { - "type": "NestedModels::OuterEntity" + "type": "NestedModels3::OuterEntity" }, "result_types_depended_on": [ - "NestedModels::OuterEntity" + "NestedModels3::OuterEntity" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindNestedAggregate", + "scoped_full_name": "NestedModels3::FindNestedAggregate", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindNestedAggregate" ], "scoped_name": "FindNestedAggregate", @@ -5795,42 +5885,43 @@ "Foobara::CommandConnectors::Serializers::AggregateSerializer" ], "types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindNestedAtom": { + "NestedModels3::FindNestedAtom": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -5842,8 +5933,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -5852,48 +5943,92 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" - } - } - }, - "symbol": "cannot_cast" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "outer_entity_id": { - "type": "integer" - } - } - }, - "symbol": "unexpected_attributes" - } - }, - "reference": "NestedModels::FindNestedAtom", - "result_type": { - "type": "NestedModels::OuterEntity" - }, - "result_types_depended_on": [ - "NestedModels::OuterEntity" - ], - "scoped_category": "command", - "scoped_full_name": "NestedModels::FindNestedAtom", - "scoped_full_path": [ - "NestedModels", + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "outer_entity": { + "type": "NestedModels3::OuterEntity" + } + } + }, + "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindNested::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" + } + }, + "reference": "NestedModels3::FindNestedAtom", + "result_type": { + "type": "NestedModels3::OuterEntity" + }, + "result_types_depended_on": [ + "NestedModels3::OuterEntity" + ], + "scoped_category": "command", + "scoped_full_name": "NestedModels3::FindNestedAtom", + "scoped_full_path": [ + "NestedModels3", "FindNestedAtom" ], "scoped_name": "FindNestedAtom", @@ -5908,42 +6043,43 @@ "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], "types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindNestedButPutInAttributes": { + "NestedModels3::FindNestedButPutInAttributes": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -5955,8 +6091,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -5965,17 +6101,55 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, @@ -5988,34 +6162,40 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindNestedButPutInAttributes::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, - "reference": "NestedModels::FindNestedButPutInAttributes", + "reference": "NestedModels3::FindNestedButPutInAttributes", "result_type": { "element_type_declarations": { "foo": { - "type": "NestedModels::OuterEntity" + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "result_types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", "symbol" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindNestedButPutInAttributes", + "scoped_full_name": "NestedModels3::FindNestedButPutInAttributes", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindNestedButPutInAttributes" ], "scoped_name": "FindNestedButPutInAttributes", @@ -6029,42 +6209,43 @@ "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindNestedButPutInAttributesAggregate": { + "NestedModels3::FindNestedButPutInAttributesAggregate": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -6076,8 +6257,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -6086,17 +6267,55 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, @@ -6109,12 +6328,18 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindNestedButPutInAttributes::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, "pre_commit_transformers": [ @@ -6147,26 +6372,26 @@ "scoped_short_name": "LoadAggregatesPreCommitTransformer" } ], - "reference": "NestedModels::FindNestedButPutInAttributesAggregate", + "reference": "NestedModels3::FindNestedButPutInAttributesAggregate", "result_type": { "element_type_declarations": { "foo": { - "type": "NestedModels::OuterEntity" + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "result_types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", "symbol" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindNestedButPutInAttributesAggregate", + "scoped_full_name": "NestedModels3::FindNestedButPutInAttributesAggregate", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindNestedButPutInAttributesAggregate" ], "scoped_name": "FindNestedButPutInAttributesAggregate", @@ -6181,42 +6406,43 @@ "Foobara::CommandConnectors::Serializers::AggregateSerializer" ], "types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindNestedButPutInAttributesAtom": { + "NestedModels3::FindNestedButPutInAttributesAtom": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -6228,8 +6454,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -6238,17 +6464,55 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, @@ -6261,34 +6525,40 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindNestedButPutInAttributes::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, - "reference": "NestedModels::FindNestedButPutInAttributesAtom", + "reference": "NestedModels3::FindNestedButPutInAttributesAtom", "result_type": { "element_type_declarations": { "foo": { - "type": "NestedModels::OuterEntity" + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "result_types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", "symbol" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindNestedButPutInAttributesAtom", + "scoped_full_name": "NestedModels3::FindNestedButPutInAttributesAtom", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindNestedButPutInAttributesAtom" ], "scoped_name": "FindNestedButPutInAttributesAtom", @@ -6303,42 +6573,43 @@ "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], "types_depended_on": [ - "NestedModels::OuterEntity", + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindOuterModelForOuterEntity": { + "NestedModels3::FindOuterModelForOuterEntity": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -6350,8 +6621,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -6360,19 +6631,57 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" - } - } + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" + } + } }, "symbol": "cannot_cast" }, @@ -6383,25 +6692,31 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindOuterModelForOuterEntity::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, - "reference": "NestedModels::FindOuterModelForOuterEntity", + "reference": "NestedModels3::FindOuterModelForOuterEntity", "result_type": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "result_types_depended_on": [ - "NestedModels::OuterModel" + "NestedModels3::OuterModel" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindOuterModelForOuterEntity", + "scoped_full_name": "NestedModels3::FindOuterModelForOuterEntity", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindOuterModelForOuterEntity" ], "scoped_name": "FindOuterModelForOuterEntity", @@ -6415,42 +6730,44 @@ "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModels::OuterModel", + "NestedModels3::OuterEntity", + "NestedModels3::OuterModel", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindOuterModelForOuterEntityAggregate": { + "NestedModels3::FindOuterModelForOuterEntityAggregate": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -6462,8 +6779,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -6472,17 +6789,55 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, @@ -6495,12 +6850,18 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindOuterModelForOuterEntity::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, "pre_commit_transformers": [ @@ -6533,17 +6894,17 @@ "scoped_short_name": "LoadAggregatesPreCommitTransformer" } ], - "reference": "NestedModels::FindOuterModelForOuterEntityAggregate", + "reference": "NestedModels3::FindOuterModelForOuterEntityAggregate", "result_type": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "result_types_depended_on": [ - "NestedModels::OuterModel" + "NestedModels3::OuterModel" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindOuterModelForOuterEntityAggregate", + "scoped_full_name": "NestedModels3::FindOuterModelForOuterEntityAggregate", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindOuterModelForOuterEntityAggregate" ], "scoped_name": "FindOuterModelForOuterEntityAggregate", @@ -6558,42 +6919,44 @@ "Foobara::CommandConnectors::Serializers::AggregateSerializer" ], "types_depended_on": [ - "NestedModels::OuterModel", + "NestedModels3::OuterEntity", + "NestedModels3::OuterModel", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModels::FindOuterModelForOuterEntityAtom": { + "NestedModels3::FindOuterModelForOuterEntityAtom": { "description": null, - "domain": "NestedModels", + "domain": "NestedModels3", "errors_types_depended_on": [ "array", "attributes", "duck", + "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModels3::OuterEntity", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "NestedModels" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -6605,8 +6968,8 @@ "casting": { "cast_to": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } }, "type": "attributes" @@ -6615,17 +6978,55 @@ }, "symbol": "cannot_cast" }, - "data.outer_entity_id.cannot_cast": { + "data.outer_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_entity_id.cannot_cast", + "key": "data.outer_entity.cannot_cast", "path": [ - "outer_entity_id" + "outer_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels3::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels3::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels3::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, @@ -6638,25 +7039,31 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "outer_entity_id": { - "type": "integer" + "outer_entity": { + "type": "NestedModels3::OuterEntity" } } }, "symbol": "unexpected_attributes" + }, + "runtime.outer_entity_not_found": { + "category": "runtime", + "error": "NestedModels3::FindOuterModelForOuterEntity::OuterEntityNotFoundError", + "key": "runtime.outer_entity_not_found", + "symbol": "outer_entity_not_found" } }, - "reference": "NestedModels::FindOuterModelForOuterEntityAtom", + "reference": "NestedModels3::FindOuterModelForOuterEntityAtom", "result_type": { - "type": "NestedModels::OuterModel" + "type": "NestedModels3::OuterModel" }, "result_types_depended_on": [ - "NestedModels::OuterModel" + "NestedModels3::OuterModel" ], "scoped_category": "command", - "scoped_full_name": "NestedModels::FindOuterModelForOuterEntityAtom", + "scoped_full_name": "NestedModels3::FindOuterModelForOuterEntityAtom", "scoped_full_path": [ - "NestedModels", + "NestedModels3", "FindOuterModelForOuterEntityAtom" ], "scoped_name": "FindOuterModelForOuterEntityAtom", @@ -6671,17 +7078,18 @@ "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], "types_depended_on": [ - "NestedModels::OuterModel", + "NestedModels3::OuterEntity", + "NestedModels3::OuterModel", "array", "attributes", "duck", - "integer", + "string", "symbol" ] }, - "NestedModelsNoCollisions::CreateNestedNoCollisions": { + "NestedModels::CreateNested": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -6693,17 +7101,17 @@ "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" } }, "type": "attributes" }, "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" }, "type": "array" } @@ -6711,7 +7119,7 @@ "type": "attributes" }, "inputs_types_depended_on": [ - "NestedModelsNoCollisions::OuterModelNoCollisions", + "NestedModels::OuterModel", "array", "attributes", "duck", @@ -6720,7 +7128,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.attr1.cannot_cast": { @@ -6735,7 +7143,7 @@ "cast_to": { "element_type_declarations": { "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" } }, "type": "attributes" @@ -6761,7 +7169,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -6829,7 +7237,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -6841,11 +7249,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -6858,9 +7266,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -6915,7 +7323,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } } }, @@ -6939,7 +7347,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -6952,14 +7360,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "model_in_a_model": { - "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + "type": "NestedModels::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" }, "type": "array" } @@ -6968,8 +7373,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ], "type": "attributes" } @@ -7009,8 +7413,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -7032,7 +7435,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -7044,11 +7447,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -7061,9 +7464,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -7085,8 +7488,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -7104,232 +7506,15 @@ }, "symbol": "missing_required_attribute" }, - "data.attr1.outer_model.model_in_a_model.attr1.baz.cannot_cast": { + "data.attr1.outer_model.some_array.#.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.attr1.outer_model.model_in_a_model.attr1.baz.cannot_cast", + "key": "data.attr1.outer_model.some_array.#.cannot_cast", "path": [ "attr1", "outer_model", - "model_in_a_model", - "attr1", - "baz" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.attr1.outer_model.model_in_a_model.attr1.baz.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.attr1.outer_model.model_in_a_model.attr1.baz.missing_required_attribute", - "path": [ - "attr1", - "outer_model", - "model_in_a_model", - "attr1", - "baz" - ], - "processor_manifest_data": { - "required": [ - "baz" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.attr1.outer_model.model_in_a_model.attr1.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.attr1.outer_model.model_in_a_model.attr1.cannot_cast", - "path": [ - "attr1", - "outer_model", - "model_in_a_model", - "attr1" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - } - } - }, - "symbol": "cannot_cast" - }, - "data.attr1.outer_model.model_in_a_model.attr1.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.attr1.outer_model.model_in_a_model.attr1.missing_required_attribute", - "path": [ - "attr1", - "outer_model", - "model_in_a_model", - "attr1" - ], - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.attr1.outer_model.model_in_a_model.attr1.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.attr1.outer_model.model_in_a_model.attr1.unexpected_attributes", - "path": [ - "attr1", - "outer_model", - "model_in_a_model", - "attr1" - ], - "processor_manifest_data": { - "element_type_declarations": { - "baz": { - "type": "string" - } - } - }, - "symbol": "unexpected_attributes" - }, - "data.attr1.outer_model.model_in_a_model.baz.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.attr1.outer_model.model_in_a_model.baz.cannot_cast", - "path": [ - "attr1", - "outer_model", - "model_in_a_model", - "baz" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.attr1.outer_model.model_in_a_model.baz.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.attr1.outer_model.model_in_a_model.baz.missing_required_attribute", - "path": [ - "attr1", - "outer_model", - "model_in_a_model", - "baz" - ], - "processor_manifest_data": { - "required": [ - "attr1", - "baz" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.attr1.outer_model.model_in_a_model.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.attr1.outer_model.model_in_a_model.cannot_cast", - "path": [ - "attr1", - "outer_model", - "model_in_a_model" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - }, - "baz": { - "type": "string" - } - }, - "required": [ - "attr1", - "baz" - ], - "type": "attributes" - } - } - }, - "symbol": "cannot_cast" - }, - "data.attr1.outer_model.model_in_a_model.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.attr1.outer_model.model_in_a_model.missing_required_attribute", - "path": [ - "attr1", - "outer_model", - "model_in_a_model" - ], - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.attr1.outer_model.model_in_a_model.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.attr1.outer_model.model_in_a_model.unexpected_attributes", - "path": [ - "attr1", - "outer_model", - "model_in_a_model" - ], - "processor_manifest_data": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - }, - "baz": { - "type": "string" - } - } - }, - "symbol": "unexpected_attributes" - }, - "data.attr1.outer_model.some_array.#.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.attr1.outer_model.some_array.#.cannot_cast", - "path": [ - "attr1", - "outer_model", - "some_array", - "#" + "some_array", + "#" ], "processor_manifest_data": { "casting": { @@ -7339,7 +7524,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -7351,11 +7536,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -7368,9 +7553,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -7391,7 +7576,7 @@ "casting": { "cast_to": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" }, "type": "array" } @@ -7413,8 +7598,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -7435,7 +7619,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -7448,14 +7632,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "model_in_a_model": { - "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + "type": "NestedModels::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" }, "type": "array" } @@ -7473,7 +7654,7 @@ "processor_manifest_data": { "element_type_declarations": { "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" } } }, @@ -7491,17 +7672,17 @@ "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" } }, "type": "attributes" }, "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" }, "type": "array" } @@ -7528,7 +7709,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -7593,7 +7774,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -7605,11 +7786,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -7622,9 +7803,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -7676,7 +7857,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } } }, @@ -7699,7 +7880,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -7712,14 +7893,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "model_in_a_model": { - "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + "type": "NestedModels::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" }, "type": "array" } @@ -7728,8 +7906,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ], "type": "attributes" } @@ -7767,8 +7944,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -7789,7 +7965,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -7801,11 +7977,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -7818,9 +7994,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -7841,8 +8017,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -7859,213 +8034,6 @@ }, "symbol": "missing_required_attribute" }, - "data.outer_model.model_in_a_model.attr1.baz.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_model.model_in_a_model.attr1.baz.cannot_cast", - "path": [ - "outer_model", - "model_in_a_model", - "attr1", - "baz" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.outer_model.model_in_a_model.attr1.baz.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.outer_model.model_in_a_model.attr1.baz.missing_required_attribute", - "path": [ - "outer_model", - "model_in_a_model", - "attr1", - "baz" - ], - "processor_manifest_data": { - "required": [ - "baz" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.outer_model.model_in_a_model.attr1.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_model.model_in_a_model.attr1.cannot_cast", - "path": [ - "outer_model", - "model_in_a_model", - "attr1" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - } - } - }, - "symbol": "cannot_cast" - }, - "data.outer_model.model_in_a_model.attr1.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.outer_model.model_in_a_model.attr1.missing_required_attribute", - "path": [ - "outer_model", - "model_in_a_model", - "attr1" - ], - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.outer_model.model_in_a_model.attr1.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.outer_model.model_in_a_model.attr1.unexpected_attributes", - "path": [ - "outer_model", - "model_in_a_model", - "attr1" - ], - "processor_manifest_data": { - "element_type_declarations": { - "baz": { - "type": "string" - } - } - }, - "symbol": "unexpected_attributes" - }, - "data.outer_model.model_in_a_model.baz.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_model.model_in_a_model.baz.cannot_cast", - "path": [ - "outer_model", - "model_in_a_model", - "baz" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.outer_model.model_in_a_model.baz.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.outer_model.model_in_a_model.baz.missing_required_attribute", - "path": [ - "outer_model", - "model_in_a_model", - "baz" - ], - "processor_manifest_data": { - "required": [ - "attr1", - "baz" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.outer_model.model_in_a_model.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.outer_model.model_in_a_model.cannot_cast", - "path": [ - "outer_model", - "model_in_a_model" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - }, - "baz": { - "type": "string" - } - }, - "required": [ - "attr1", - "baz" - ], - "type": "attributes" - } - } - }, - "symbol": "cannot_cast" - }, - "data.outer_model.model_in_a_model.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.outer_model.model_in_a_model.missing_required_attribute", - "path": [ - "outer_model", - "model_in_a_model" - ], - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.outer_model.model_in_a_model.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.outer_model.model_in_a_model.unexpected_attributes", - "path": [ - "outer_model", - "model_in_a_model" - ], - "processor_manifest_data": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - }, - "baz": { - "type": "string" - } - } - }, - "symbol": "unexpected_attributes" - }, "data.outer_model.some_array.#.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", @@ -8083,7 +8051,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -8095,11 +8063,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -8112,9 +8080,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -8134,7 +8102,7 @@ "casting": { "cast_to": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" }, "type": "array" } @@ -8155,8 +8123,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -8176,7 +8143,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -8189,14 +8156,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "model_in_a_model": { - "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + "type": "NestedModels::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" }, "type": "array" } @@ -8221,7 +8185,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -8289,7 +8253,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -8301,11 +8265,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -8318,9 +8282,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -8375,7 +8339,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } } }, @@ -8399,7 +8363,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" } }, "required": [ @@ -8412,14 +8376,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "model_in_a_model": { - "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + "type": "NestedModels::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + "type": "NestedModels::InnerEntity" }, "type": "array" } @@ -8428,8 +8389,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ], "type": "attributes" } @@ -8469,8 +8429,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -8492,7 +8451,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" } }, "required": [ @@ -8504,11 +8463,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + "type": "NestedModels::InnerModel" }, "type": "array" } @@ -8521,9 +8480,9 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", "primary_key": "id", "type": "entity" } @@ -8545,8 +8504,7 @@ "attr1", "some_array", "inner_entity", - "foo", - "model_in_a_model" + "foo" ] }, "symbol": "missing_required_attribute" @@ -8564,448 +8522,227 @@ }, "symbol": "missing_required_attribute" }, - "data.some_array.#.model_in_a_model.attr1.baz.cannot_cast": { + "data.some_array.#.some_array.#.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_array.#.model_in_a_model.attr1.baz.cannot_cast", + "key": "data.some_array.#.some_array.#.cannot_cast", "path": [ "some_array", "#", - "model_in_a_model", - "attr1", - "baz" + "some_array", + "#" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "string" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModels::InnerModel" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModels::InnerModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels::InnerModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels::Types::InnerEntity", + "model_module": "NestedModels::Types", + "name": "InnerEntity", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" }, - "data.some_array.#.model_in_a_model.attr1.baz.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.some_array.#.model_in_a_model.attr1.baz.missing_required_attribute", - "path": [ - "some_array", - "#", - "model_in_a_model", - "attr1", - "baz" - ], - "processor_manifest_data": { - "required": [ - "baz" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.some_array.#.model_in_a_model.attr1.cannot_cast": { + "data.some_array.#.some_array.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_array.#.model_in_a_model.attr1.cannot_cast", + "key": "data.some_array.#.some_array.cannot_cast", "path": [ "some_array", "#", - "model_in_a_model", - "attr1" + "some_array" ], "processor_manifest_data": { "casting": { "cast_to": { - "element_type_declarations": { - "baz": { - "type": "string" - } + "element_type_declaration": { + "type": "NestedModels::InnerEntity" }, - "required": [ - "baz" - ], - "type": "attributes" + "type": "array" } } }, "symbol": "cannot_cast" }, - "data.some_array.#.model_in_a_model.attr1.missing_required_attribute": { + "data.some_array.#.some_array.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.some_array.#.model_in_a_model.attr1.missing_required_attribute", + "key": "data.some_array.#.some_array.missing_required_attribute", "path": [ "some_array", "#", - "model_in_a_model", - "attr1" + "some_array" ], "processor_manifest_data": { - "pipeline": null + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo" + ] }, "symbol": "missing_required_attribute" }, - "data.some_array.#.model_in_a_model.attr1.unexpected_attributes": { + "data.some_array.#.unexpected_attributes": { "category": "data", "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.some_array.#.model_in_a_model.attr1.unexpected_attributes", + "key": "data.some_array.#.unexpected_attributes", "path": [ "some_array", - "#", - "model_in_a_model", - "attr1" + "#" ], "processor_manifest_data": { "element_type_declarations": { - "baz": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModels::InnerEntity" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "foo": { "type": "string" + }, + "inner_entity": { + "type": "NestedModels::InnerEntity" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels::InnerEntity" + }, + "type": "array" } } }, "symbol": "unexpected_attributes" }, - "data.some_array.#.model_in_a_model.baz.cannot_cast": { + "data.some_array.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_array.#.model_in_a_model.baz.cannot_cast", + "key": "data.some_array.cannot_cast", "path": [ - "some_array", - "#", - "model_in_a_model", - "baz" + "some_array" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "string" + "element_type_declaration": { + "type": "NestedModels::OuterModel" + }, + "type": "array" } } }, "symbol": "cannot_cast" }, - "data.some_array.#.model_in_a_model.baz.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.some_array.#.model_in_a_model.baz.missing_required_attribute", - "path": [ - "some_array", - "#", - "model_in_a_model", - "baz" - ], - "processor_manifest_data": { - "required": [ - "attr1", - "baz" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.some_array.#.model_in_a_model.cannot_cast": { + "data.unexpected_attributes": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_array.#.model_in_a_model.cannot_cast", - "path": [ - "some_array", - "#", - "model_in_a_model" - ], + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { - "casting": { - "cast_to": { + "element_type_declarations": { + "attr1": { "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - }, - "baz": { - "type": "string" + "outer_model": { + "type": "NestedModels::OuterModel" } }, - "required": [ - "attr1", - "baz" - ], "type": "attributes" - } - } - }, - "symbol": "cannot_cast" - }, - "data.some_array.#.model_in_a_model.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.some_array.#.model_in_a_model.missing_required_attribute", - "path": [ - "some_array", - "#", - "model_in_a_model" - ], - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.some_array.#.model_in_a_model.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.some_array.#.model_in_a_model.unexpected_attributes", - "path": [ - "some_array", - "#", - "model_in_a_model" - ], - "processor_manifest_data": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "baz": { - "type": "string" - } - }, - "required": [ - "baz" - ], - "type": "attributes" - }, - "baz": { - "type": "string" - } - } - }, - "symbol": "unexpected_attributes" - }, - "data.some_array.#.some_array.#.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_array.#.some_array.#.cannot_cast", - "path": [ - "some_array", - "#", - "some_array", - "#" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "attributes_declaration": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" - } - }, - "required": [ - "inner_model" - ], - "type": "attributes" - }, - "id": { - "type": "integer" - }, - "inner_model": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" - }, - "some_array": { - "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerModelNoCollisions" - }, - "type": "array" - } - }, - "required": [ - "attr1", - "some_array", - "inner_model" - ], - "type": "attributes" - }, - "model_base_class": "Foobara::Entity", - "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", - "model_module": "NestedModelsNoCollisions::TypesNoCollisions", - "name": "InnerEntityNoCollisions", - "primary_key": "id", - "type": "entity" - } - } - }, - "symbol": "cannot_cast" - }, - "data.some_array.#.some_array.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_array.#.some_array.cannot_cast", - "path": [ - "some_array", - "#", - "some_array" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "type": "array" - } - } - }, - "symbol": "cannot_cast" - }, - "data.some_array.#.some_array.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.some_array.#.some_array.missing_required_attribute", - "path": [ - "some_array", - "#", - "some_array" - ], - "processor_manifest_data": { - "required": [ - "attr1", - "some_array", - "inner_entity", - "foo", - "model_in_a_model" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.some_array.#.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.some_array.#.unexpected_attributes", - "path": [ - "some_array", - "#" - ], - "processor_manifest_data": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "foo": { - "type": "string" - }, - "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - } - }, - "required": [ - "inner_entity", - "foo" - ], - "type": "attributes" - }, - "foo": { - "type": "string" - }, - "inner_entity": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "model_in_a_model": { - "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" - }, - "some_array": { - "element_type_declaration": { - "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" - }, - "type": "array" - } - } - }, - "symbol": "unexpected_attributes" - }, - "data.some_array.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_array.cannot_cast", - "path": [ - "some_array" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "element_type_declaration": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" - }, - "type": "array" - } - } - }, - "symbol": "cannot_cast" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "attr1": { - "element_type_declarations": { - "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" - } - }, - "type": "attributes" - }, - "outer_model": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" - }, - "some_array": { - "element_type_declaration": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" - }, - "type": "array" + }, + "outer_model": { + "type": "NestedModels::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels::OuterModel" + }, + "type": "array" } } }, "symbol": "unexpected_attributes" } }, - "reference": "NestedModelsNoCollisions::CreateNestedNoCollisions", + "reference": "NestedModels::CreateNested", "result_type": { - "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + "type": "NestedModels::OuterEntity" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions" + "NestedModels::OuterEntity" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::CreateNestedNoCollisions", + "scoped_full_name": "NestedModels::CreateNested", "scoped_full_path": [ - "NestedModelsNoCollisions", - "CreateNestedNoCollisions" + "NestedModels", + "CreateNested" ], - "scoped_name": "CreateNestedNoCollisions", + "scoped_name": "CreateNested", "scoped_path": [ - "CreateNestedNoCollisions" + "CreateNested" ], "scoped_prefix": null, - "scoped_short_name": "CreateNestedNoCollisions", + "scoped_short_name": "CreateNested", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", - "NestedModelsNoCollisions::OuterModelNoCollisions", + "NestedModels::OuterEntity", + "NestedModels::OuterModel", "array", "attributes", "duck", "symbol" ] }, - "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions": { + "NestedModels::FindNested": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9030,7 +8767,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9083,40 +8820,31 @@ "symbol": "unexpected_attributes" } }, - "reference": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions", + "reference": "NestedModels::FindNested", "result_type": { - "element_type_declarations": { - "foo": { - "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" - } - }, - "type": "attributes" + "type": "NestedModels::OuterEntity" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", - "array", - "attributes", - "duck", - "symbol" + "NestedModels::OuterEntity" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions", + "scoped_full_name": "NestedModels::FindNested", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindNestedButPutInAttributesNoCollisions" + "NestedModels", + "FindNested" ], - "scoped_name": "FindNestedButPutInAttributesNoCollisions", + "scoped_name": "FindNested", "scoped_path": [ - "FindNestedButPutInAttributesNoCollisions" + "FindNested" ], "scoped_prefix": null, - "scoped_short_name": "FindNestedButPutInAttributesNoCollisions", + "scoped_short_name": "FindNested", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModels::OuterEntity", "array", "attributes", "duck", @@ -9124,9 +8852,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate": { + "NestedModels::FindNestedAggregate": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9151,7 +8879,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9234,41 +8962,32 @@ "scoped_short_name": "LoadAggregatesPreCommitTransformer" } ], - "reference": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate", + "reference": "NestedModels::FindNestedAggregate", "result_type": { - "element_type_declarations": { - "foo": { - "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" - } - }, - "type": "attributes" + "type": "NestedModels::OuterEntity" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", - "array", - "attributes", - "duck", - "symbol" + "NestedModels::OuterEntity" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate", + "scoped_full_name": "NestedModels::FindNestedAggregate", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindNestedButPutInAttributesNoCollisionsAggregate" + "NestedModels", + "FindNestedAggregate" ], - "scoped_name": "FindNestedButPutInAttributesNoCollisionsAggregate", + "scoped_name": "FindNestedAggregate", "scoped_path": [ - "FindNestedButPutInAttributesNoCollisionsAggregate" + "FindNestedAggregate" ], "scoped_prefix": null, - "scoped_short_name": "FindNestedButPutInAttributesNoCollisionsAggregate", + "scoped_short_name": "FindNestedAggregate", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer", "Foobara::CommandConnectors::Serializers::AggregateSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModels::OuterEntity", "array", "attributes", "duck", @@ -9276,9 +8995,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom": { + "NestedModels::FindNestedAtom": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9303,7 +9022,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9356,41 +9075,32 @@ "symbol": "unexpected_attributes" } }, - "reference": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom", + "reference": "NestedModels::FindNestedAtom", "result_type": { - "element_type_declarations": { - "foo": { - "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" - } - }, - "type": "attributes" + "type": "NestedModels::OuterEntity" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", - "array", - "attributes", - "duck", - "symbol" + "NestedModels::OuterEntity" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom", + "scoped_full_name": "NestedModels::FindNestedAtom", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindNestedButPutInAttributesNoCollisionsAtom" + "NestedModels", + "FindNestedAtom" ], - "scoped_name": "FindNestedButPutInAttributesNoCollisionsAtom", + "scoped_name": "FindNestedAtom", "scoped_path": [ - "FindNestedButPutInAttributesNoCollisionsAtom" + "FindNestedAtom" ], "scoped_prefix": null, - "scoped_short_name": "FindNestedButPutInAttributesNoCollisionsAtom", + "scoped_short_name": "FindNestedAtom", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer", "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModels::OuterEntity", "array", "attributes", "duck", @@ -9398,9 +9108,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindNestedNoCollisions": { + "NestedModels::FindNestedButPutInAttributes": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9425,7 +9135,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9478,31 +9188,40 @@ "symbol": "unexpected_attributes" } }, - "reference": "NestedModelsNoCollisions::FindNestedNoCollisions", + "reference": "NestedModels::FindNestedButPutInAttributes", "result_type": { - "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + "element_type_declarations": { + "foo": { + "type": "NestedModels::OuterEntity" + } + }, + "type": "attributes" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions" + "NestedModels::OuterEntity", + "array", + "attributes", + "duck", + "symbol" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindNestedNoCollisions", + "scoped_full_name": "NestedModels::FindNestedButPutInAttributes", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindNestedNoCollisions" + "NestedModels", + "FindNestedButPutInAttributes" ], - "scoped_name": "FindNestedNoCollisions", + "scoped_name": "FindNestedButPutInAttributes", "scoped_path": [ - "FindNestedNoCollisions" + "FindNestedButPutInAttributes" ], "scoped_prefix": null, - "scoped_short_name": "FindNestedNoCollisions", + "scoped_short_name": "FindNestedButPutInAttributes", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModels::OuterEntity", "array", "attributes", "duck", @@ -9510,9 +9229,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate": { + "NestedModels::FindNestedButPutInAttributesAggregate": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9537,7 +9256,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9620,32 +9339,41 @@ "scoped_short_name": "LoadAggregatesPreCommitTransformer" } ], - "reference": "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate", + "reference": "NestedModels::FindNestedButPutInAttributesAggregate", "result_type": { - "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + "element_type_declarations": { + "foo": { + "type": "NestedModels::OuterEntity" + } + }, + "type": "attributes" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions" + "NestedModels::OuterEntity", + "array", + "attributes", + "duck", + "symbol" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate", + "scoped_full_name": "NestedModels::FindNestedButPutInAttributesAggregate", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindNestedNoCollisionsAggregate" + "NestedModels", + "FindNestedButPutInAttributesAggregate" ], - "scoped_name": "FindNestedNoCollisionsAggregate", + "scoped_name": "FindNestedButPutInAttributesAggregate", "scoped_path": [ - "FindNestedNoCollisionsAggregate" + "FindNestedButPutInAttributesAggregate" ], "scoped_prefix": null, - "scoped_short_name": "FindNestedNoCollisionsAggregate", + "scoped_short_name": "FindNestedButPutInAttributesAggregate", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer", "Foobara::CommandConnectors::Serializers::AggregateSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModels::OuterEntity", "array", "attributes", "duck", @@ -9653,9 +9381,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindNestedNoCollisionsAtom": { + "NestedModels::FindNestedButPutInAttributesAtom": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9680,7 +9408,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9733,32 +9461,41 @@ "symbol": "unexpected_attributes" } }, - "reference": "NestedModelsNoCollisions::FindNestedNoCollisionsAtom", + "reference": "NestedModels::FindNestedButPutInAttributesAtom", "result_type": { - "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + "element_type_declarations": { + "foo": { + "type": "NestedModels::OuterEntity" + } + }, + "type": "attributes" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions" + "NestedModels::OuterEntity", + "array", + "attributes", + "duck", + "symbol" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindNestedNoCollisionsAtom", + "scoped_full_name": "NestedModels::FindNestedButPutInAttributesAtom", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindNestedNoCollisionsAtom" + "NestedModels", + "FindNestedButPutInAttributesAtom" ], - "scoped_name": "FindNestedNoCollisionsAtom", + "scoped_name": "FindNestedButPutInAttributesAtom", "scoped_path": [ - "FindNestedNoCollisionsAtom" + "FindNestedButPutInAttributesAtom" ], "scoped_prefix": null, - "scoped_short_name": "FindNestedNoCollisionsAtom", + "scoped_short_name": "FindNestedButPutInAttributesAtom", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer", "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModels::OuterEntity", "array", "attributes", "duck", @@ -9766,9 +9503,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions": { + "NestedModels::FindOuterModelForOuterEntity": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9793,7 +9530,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9846,31 +9583,31 @@ "symbol": "unexpected_attributes" } }, - "reference": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions", + "reference": "NestedModels::FindOuterModelForOuterEntity", "result_type": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterModelNoCollisions" + "NestedModels::OuterModel" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions", + "scoped_full_name": "NestedModels::FindOuterModelForOuterEntity", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindOuterModelForOuterEntityNoCollisions" + "NestedModels", + "FindOuterModelForOuterEntity" ], - "scoped_name": "FindOuterModelForOuterEntityNoCollisions", + "scoped_name": "FindOuterModelForOuterEntity", "scoped_path": [ - "FindOuterModelForOuterEntityNoCollisions" + "FindOuterModelForOuterEntity" ], "scoped_prefix": null, - "scoped_short_name": "FindOuterModelForOuterEntityNoCollisions", + "scoped_short_name": "FindOuterModelForOuterEntity", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterModelNoCollisions", + "NestedModels::OuterModel", "array", "attributes", "duck", @@ -9878,9 +9615,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate": { + "NestedModels::FindOuterModelForOuterEntityAggregate": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -9905,7 +9642,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -9988,32 +9725,32 @@ "scoped_short_name": "LoadAggregatesPreCommitTransformer" } ], - "reference": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate", + "reference": "NestedModels::FindOuterModelForOuterEntityAggregate", "result_type": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterModelNoCollisions" + "NestedModels::OuterModel" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate", + "scoped_full_name": "NestedModels::FindOuterModelForOuterEntityAggregate", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindOuterModelForOuterEntityNoCollisionsAggregate" + "NestedModels", + "FindOuterModelForOuterEntityAggregate" ], - "scoped_name": "FindOuterModelForOuterEntityNoCollisionsAggregate", + "scoped_name": "FindOuterModelForOuterEntityAggregate", "scoped_path": [ - "FindOuterModelForOuterEntityNoCollisionsAggregate" + "FindOuterModelForOuterEntityAggregate" ], "scoped_prefix": null, - "scoped_short_name": "FindOuterModelForOuterEntityNoCollisionsAggregate", + "scoped_short_name": "FindOuterModelForOuterEntityAggregate", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer", "Foobara::CommandConnectors::Serializers::AggregateSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterModelNoCollisions", + "NestedModels::OuterModel", "array", "attributes", "duck", @@ -10021,9 +9758,9 @@ "symbol" ] }, - "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom": { + "NestedModels::FindOuterModelForOuterEntityAtom": { "description": null, - "domain": "NestedModelsNoCollisions", + "domain": "NestedModels", "errors_types_depended_on": [ "array", "attributes", @@ -10048,7 +9785,7 @@ "organization": "global_organization", "parent": [ "domain", - "NestedModelsNoCollisions" + "NestedModels" ], "possible_errors": { "data.cannot_cast": { @@ -10101,32 +9838,32 @@ "symbol": "unexpected_attributes" } }, - "reference": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom", + "reference": "NestedModels::FindOuterModelForOuterEntityAtom", "result_type": { - "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + "type": "NestedModels::OuterModel" }, "result_types_depended_on": [ - "NestedModelsNoCollisions::OuterModelNoCollisions" + "NestedModels::OuterModel" ], "scoped_category": "command", - "scoped_full_name": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom", + "scoped_full_name": "NestedModels::FindOuterModelForOuterEntityAtom", "scoped_full_path": [ - "NestedModelsNoCollisions", - "FindOuterModelForOuterEntityNoCollisionsAtom" + "NestedModels", + "FindOuterModelForOuterEntityAtom" ], - "scoped_name": "FindOuterModelForOuterEntityNoCollisionsAtom", + "scoped_name": "FindOuterModelForOuterEntityAtom", "scoped_path": [ - "FindOuterModelForOuterEntityNoCollisionsAtom" + "FindOuterModelForOuterEntityAtom" ], "scoped_prefix": null, - "scoped_short_name": "FindOuterModelForOuterEntityNoCollisionsAtom", + "scoped_short_name": "FindOuterModelForOuterEntityAtom", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer", "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], "types_depended_on": [ - "NestedModelsNoCollisions::OuterModelNoCollisions", + "NestedModels::OuterModel", "array", "attributes", "duck", @@ -10134,9 +9871,9 @@ "symbol" ] }, - "SomeDomainWithoutOrg::CommandWithDomainButNoOrg": { + "NestedModelsNoCollisions::CreateNestedNoCollisions": { "description": null, - "domain": "SomeDomainWithoutOrg", + "domain": "NestedModelsNoCollisions", "errors_types_depended_on": [ "array", "attributes", @@ -10145,211 +9882,83 @@ ], "inputs_type": { "element_type_declarations": { - "some_integer": { - "type": "integer" + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + } + }, + "type": "attributes" + }, + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "type": "array" } }, - "required": [ - "some_integer" - ], "type": "attributes" }, "inputs_types_depended_on": [ + "NestedModelsNoCollisions::OuterModelNoCollisions", "array", "attributes", "duck", - "integer", "symbol" ], "organization": "global_organization", "parent": [ "domain", - "SomeDomainWithoutOrg" + "NestedModelsNoCollisions" ], "possible_errors": { - "data.cannot_cast": { + "data.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", + "key": "data.attr1.cannot_cast", + "path": [ + "attr1" + ], "processor_manifest_data": { "casting": { "cast_to": { "element_type_declarations": { - "some_integer": { - "type": "integer" + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" } }, - "required": [ - "some_integer" - ], "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.some_integer.cannot_cast": { + "data.attr1.outer_model.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.some_integer.cannot_cast", - "path": [ - "some_integer" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "integer" - } - } - }, - "symbol": "cannot_cast" - }, - "data.some_integer.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.some_integer.missing_required_attribute", + "key": "data.attr1.outer_model.attr1.cannot_cast", "path": [ - "some_integer" + "attr1", + "outer_model", + "attr1" ], - "processor_class": "attributes::SupportedValidators::Required", - "processor_manifest_data": { - "required": [ - "some_integer" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "some_integer": { - "type": "integer" - } - } - }, - "symbol": "unexpected_attributes" - } - }, - "reference": "SomeDomainWithoutOrg::CommandWithDomainButNoOrg", - "result_type": { - "type": "integer" - }, - "result_types_depended_on": [ - "integer" - ], - "scoped_category": "command", - "scoped_full_name": "SomeDomainWithoutOrg::CommandWithDomainButNoOrg", - "scoped_full_path": [ - "SomeDomainWithoutOrg", - "CommandWithDomainButNoOrg" - ], - "scoped_name": "CommandWithDomainButNoOrg", - "scoped_path": [ - "CommandWithDomainButNoOrg" - ], - "scoped_prefix": null, - "scoped_short_name": "CommandWithDomainButNoOrg", - "serializers": [ - "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" - ], - "types_depended_on": [ - "array", - "attributes", - "duck", - "integer", - "symbol" - ] - }, - "SomeOrg::Auth::CreateReferral": { - "description": null, - "domain": "SomeOrg::Auth", - "errors_types_depended_on": [ - "SomeOrg::Auth::User", - "array", - "attributes", - "duck", - "string", - "symbol" - ], - "inputs_type": { - "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOrg::Auth::User" - }, - "referring_user": { - "type": "SomeOrg::Auth::User" - } - }, - "required": [ - "channel", - "referring_user", - "referred_user" - ], - "type": "attributes" - }, - "inputs_types_depended_on": [ - "SomeOrg::Auth::User", - "array", - "attributes", - "duck", - "integer", - "string", - "symbol" - ], - "organization": "SomeOrg", - "parent": [ - "domain", - "SomeOrg::Auth" - ], - "possible_errors": { - "data.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", "processor_manifest_data": { "casting": { "cast_to": { "element_type_declarations": { - "channel": { + "foo": { "type": "string" }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOrg::Auth::User" - }, - "referring_user": { - "type": "SomeOrg::Auth::User" + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" } }, "required": [ - "channel", - "referring_user", - "referred_user" + "inner_entity", + "foo" ], "type": "attributes" } @@ -10357,12 +9966,15 @@ }, "symbol": "cannot_cast" }, - "data.channel.cannot_cast": { + "data.attr1.outer_model.attr1.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.channel.cannot_cast", + "key": "data.attr1.outer_model.attr1.foo.cannot_cast", "path": [ - "channel" + "attr1", + "outer_model", + "attr1", + "foo" ], "processor_manifest_data": { "casting": { @@ -10373,94 +9985,74 @@ }, "symbol": "cannot_cast" }, - "data.channel.missing_required_attribute": { + "data.attr1.outer_model.attr1.foo.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.channel.missing_required_attribute", + "key": "data.attr1.outer_model.attr1.foo.missing_required_attribute", "path": [ - "channel" + "attr1", + "outer_model", + "attr1", + "foo" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "channel", - "referring_user", - "referred_user" + "inner_entity", + "foo" ] }, "symbol": "missing_required_attribute" }, - "data.id.cannot_cast": { + "data.attr1.outer_model.attr1.inner_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.id.cannot_cast", - "path": [ - "id" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "integer" - } - } - }, - "symbol": "cannot_cast" - }, - "data.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.referred_user.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referred_user.cannot_cast", + "key": "data.attr1.outer_model.attr1.inner_entity.cannot_cast", "path": [ - "referred_user" + "attr1", + "outer_model", + "attr1", + "inner_entity" ], "processor_manifest_data": { "casting": { "cast_to": { "attributes_declaration": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" }, "id": { "type": "integer" }, - "last_name": { - "allow_nil": true, - "type": "string" + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" }, - "preferred_contact_method": { - "one_of": [ - "email", - "phonecall", - "sms" - ], - "type": "symbol" + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" } }, "required": [ - "first_name", - "last_name", - "email" + "attr1", + "some_array", + "inner_model" ], "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "SomeOrg::Auth::User", - "model_module": "SomeOrg::Auth", - "name": "User", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", "primary_key": "id", "type": "entity" } @@ -10468,604 +10060,509 @@ }, "symbol": "cannot_cast" }, - "data.referred_user.missing_required_attribute": { + "data.attr1.outer_model.attr1.inner_entity.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.referred_user.missing_required_attribute", + "key": "data.attr1.outer_model.attr1.inner_entity.missing_required_attribute", "path": [ - "referred_user" + "attr1", + "outer_model", + "attr1", + "inner_entity" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "channel", - "referring_user", - "referred_user" + "inner_entity", + "foo" ] }, "symbol": "missing_required_attribute" }, - "data.referring_user.cannot_cast": { + "data.attr1.outer_model.attr1.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.outer_model.attr1.missing_required_attribute", + "path": [ + "attr1", + "outer_model", + "attr1" + ], + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.attr1.outer_model.attr1.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.attr1.outer_model.attr1.unexpected_attributes", + "path": [ + "attr1", + "outer_model", + "attr1" + ], + "processor_manifest_data": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.attr1.outer_model.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referring_user.cannot_cast", + "key": "data.attr1.outer_model.cannot_cast", "path": [ - "referring_user" + "attr1", + "outer_model" ], "processor_manifest_data": { "casting": { "cast_to": { - "attributes_declaration": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "allow_nil": true, - "type": "string" + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } }, - "preferred_contact_method": { - "one_of": [ - "email", - "phonecall", - "sms" - ], - "type": "symbol" - } + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "model_in_a_model": { + "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" + } }, - "model_base_class": "Foobara::Entity", - "model_class": "SomeOrg::Auth::User", - "model_module": "SomeOrg::Auth", - "name": "User", - "primary_key": "id", - "type": "entity" + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.referring_user.missing_required_attribute": { + "data.attr1.outer_model.foo.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.attr1.outer_model.foo.cannot_cast", + "path": [ + "attr1", + "outer_model", + "foo" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.attr1.outer_model.foo.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.referring_user.missing_required_attribute", + "key": "data.attr1.outer_model.foo.missing_required_attribute", "path": [ - "referring_user" + "attr1", + "outer_model", + "foo" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "channel", - "referring_user", - "referred_user" + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" ] }, "symbol": "missing_required_attribute" }, - "data.unexpected_attributes": { + "data.attr1.outer_model.inner_entity.cannot_cast": { "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOrg::Auth::User" - }, - "referring_user": { - "type": "SomeOrg::Auth::User" - } - } - }, - "symbol": "unexpected_attributes" - }, - "runtime.bad_referral": { - "category": "runtime", - "error": "SomeOrg::Auth::CreateReferral::BadReferralError", - "key": "runtime.bad_referral", - "symbol": "bad_referral" - } - }, - "reference": "SomeOrg::Auth::CreateReferral", - "result_type": { - "type": "SomeOrg::Auth::Referral" - }, - "result_types_depended_on": [ - "SomeOrg::Auth::Referral" - ], - "scoped_category": "command", - "scoped_full_name": "SomeOrg::Auth::CreateReferral", - "scoped_full_path": [ - "SomeOrg", - "Auth", - "CreateReferral" - ], - "scoped_name": "CreateReferral", - "scoped_path": [ - "CreateReferral" - ], - "scoped_prefix": null, - "scoped_short_name": "CreateReferral", - "serializers": [ - "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" - ], - "types_depended_on": [ - "SomeOrg::Auth::Referral", - "SomeOrg::Auth::User", - "array", - "attributes", - "duck", - "integer", - "string", - "symbol" - ] - }, - "SomeOrg::Auth::CreateUser": { - "depends_on": [ - "SomeOrg::Auth::CreateReferral" - ], - "description": null, - "domain": "SomeOrg::Auth", - "errors_types_depended_on": [ - "SomeOrg::Auth::User", - "array", - "attributes", - "duck", - "string", - "symbol" - ], - "inputs_type": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "allow_nil": true, - "type": "string" - }, - "preferred_contact_method": { - "one_of": [ - "email", - "phonecall", - "sms" - ], - "type": "symbol" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOrg::Auth::User" - } - }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" - }, - "inputs_types_depended_on": [ - "SomeOrg::Auth::User", - "array", - "attributes", - "duck", - "email", - "integer", - "string", - "symbol" - ], - "organization": "SomeOrg", - "parent": [ - "domain", - "SomeOrg::Auth" - ], - "possible_errors": { - "data.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.attr1.outer_model.inner_entity.cannot_cast", + "path": [ + "attr1", + "outer_model", + "inner_entity" + ], "processor_manifest_data": { "casting": { "cast_to": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "allow_nil": true, - "type": "string" - }, - "preferred_contact_method": { - "one_of": [ - "email", - "phonecall", - "sms" - ], - "type": "symbol" - }, - "referral_channel": { - "type": "string" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" + } }, - "referring_user": { - "type": "SomeOrg::Auth::User" - } + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" + "model_base_class": "Foobara::Entity", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" }, - "data.email.cannot_cast": { + "data.attr1.outer_model.inner_entity.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.email.cannot_cast", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.outer_model.inner_entity.missing_required_attribute", "path": [ - "email" + "attr1", + "outer_model", + "inner_entity" ], "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "email" - } - } + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" + ] }, - "symbol": "cannot_cast" + "symbol": "missing_required_attribute" }, - "data.email.cannot_exceed64_characters": { + "data.attr1.outer_model.missing_required_attribute": { "category": "data", - "error": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", - "key": "data.email.cannot_exceed64_characters", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.outer_model.missing_required_attribute", "path": [ - "email" + "attr1", + "outer_model" ], "processor_manifest_data": { - "cannot_exceed64_characters": true + "pipeline": null }, - "symbol": "cannot_exceed64_characters" + "symbol": "missing_required_attribute" }, - "data.email.cannot_have_multiple_at_signs": { + "data.attr1.outer_model.model_in_a_model.attr1.baz.cannot_cast": { "category": "data", - "error": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", - "key": "data.email.cannot_have_multiple_at_signs", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.attr1.outer_model.model_in_a_model.attr1.baz.cannot_cast", "path": [ - "email" + "attr1", + "outer_model", + "model_in_a_model", + "attr1", + "baz" ], "processor_manifest_data": { - "cannot_have_multiple_at_signs": true + "casting": { + "cast_to": { + "type": "string" + } + } }, - "symbol": "cannot_have_multiple_at_signs" + "symbol": "cannot_cast" }, - "data.email.domain_cannot_start_with_or_end_with_a_hyphen": { - "category": "data", - "error": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", - "key": "data.email.domain_cannot_start_with_or_end_with_a_hyphen", - "path": [ - "email" - ], - "processor_manifest_data": { - "domain_cannot_start_with_or_end_with_a_hyphen": true - }, - "symbol": "domain_cannot_start_with_or_end_with_a_hyphen" - }, - "data.email.first_part_cannot_be_empty": { - "category": "data", - "error": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", - "key": "data.email.first_part_cannot_be_empty", - "path": [ - "email" - ], - "processor_manifest_data": { - "first_part_cannot_be_empty": true - }, - "symbol": "first_part_cannot_be_empty" - }, - "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": { - "category": "data", - "error": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", - "key": "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", - "path": [ - "email" - ], - "processor_manifest_data": { - "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": true - }, - "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row" - }, - "data.email.first_part_has_bad_characters": { - "category": "data", - "error": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", - "key": "data.email.first_part_has_bad_characters", - "path": [ - "email" - ], - "processor_manifest_data": { - "first_part_has_bad_characters": true - }, - "symbol": "first_part_has_bad_characters" - }, - "data.email.missing_required_attribute": { + "data.attr1.outer_model.model_in_a_model.attr1.baz.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.email.missing_required_attribute", + "key": "data.attr1.outer_model.model_in_a_model.attr1.baz.missing_required_attribute", "path": [ - "email" + "attr1", + "outer_model", + "model_in_a_model", + "attr1", + "baz" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "first_name", - "last_name", - "email" + "baz" ] }, "symbol": "missing_required_attribute" }, - "data.email.must_have_an_at_sign": { - "category": "data", - "error": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", - "key": "data.email.must_have_an_at_sign", - "path": [ - "email" - ], - "processor_manifest_data": { - "must_have_an_at_sign": true - }, - "symbol": "must_have_an_at_sign" - }, - "data.email.second_part_cannot_be_empty": { - "category": "data", - "error": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", - "key": "data.email.second_part_cannot_be_empty", - "path": [ - "email" - ], - "processor_manifest_data": { - "second_part_cannot_be_empty": true - }, - "symbol": "second_part_cannot_be_empty" - }, - "data.email.second_part_has_bad_characters": { - "category": "data", - "error": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", - "key": "data.email.second_part_has_bad_characters", - "path": [ - "email" - ], - "processor_manifest_data": { - "second_part_has_bad_characters": true - }, - "symbol": "second_part_has_bad_characters" - }, - "data.first_name.cannot_cast": { + "data.attr1.outer_model.model_in_a_model.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.first_name.cannot_cast", + "key": "data.attr1.outer_model.model_in_a_model.attr1.cannot_cast", "path": [ - "first_name" + "attr1", + "outer_model", + "model_in_a_model", + "attr1" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "string" + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.first_name.missing_required_attribute": { + "data.attr1.outer_model.model_in_a_model.attr1.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.first_name.missing_required_attribute", + "key": "data.attr1.outer_model.model_in_a_model.attr1.missing_required_attribute", "path": [ - "first_name" + "attr1", + "outer_model", + "model_in_a_model", + "attr1" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { - "required": [ - "first_name", - "last_name", - "email" - ] + "pipeline": null }, "symbol": "missing_required_attribute" }, - "data.id.cannot_cast": { + "data.attr1.outer_model.model_in_a_model.attr1.unexpected_attributes": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.id.cannot_cast", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.attr1.outer_model.model_in_a_model.attr1.unexpected_attributes", "path": [ - "id" + "attr1", + "outer_model", + "model_in_a_model", + "attr1" ], "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "integer" + "element_type_declarations": { + "baz": { + "type": "string" } } }, - "symbol": "cannot_cast" + "symbol": "unexpected_attributes" }, - "data.last_name.cannot_cast": { + "data.attr1.outer_model.model_in_a_model.baz.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.last_name.cannot_cast", + "key": "data.attr1.outer_model.model_in_a_model.baz.cannot_cast", "path": [ - "last_name" + "attr1", + "outer_model", + "model_in_a_model", + "baz" ], "processor_manifest_data": { "casting": { "cast_to": { - "allow_nil": true, "type": "string" } } }, "symbol": "cannot_cast" }, - "data.last_name.missing_required_attribute": { + "data.attr1.outer_model.model_in_a_model.baz.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.last_name.missing_required_attribute", + "key": "data.attr1.outer_model.model_in_a_model.baz.missing_required_attribute", "path": [ - "last_name" + "attr1", + "outer_model", + "model_in_a_model", + "baz" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "first_name", - "last_name", - "email" + "attr1", + "baz" ] }, "symbol": "missing_required_attribute" }, - "data.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.preferred_contact_method.cannot_cast": { + "data.attr1.outer_model.model_in_a_model.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.preferred_contact_method.cannot_cast", + "key": "data.attr1.outer_model.model_in_a_model.cannot_cast", "path": [ - "preferred_contact_method" + "attr1", + "outer_model", + "model_in_a_model" ], "processor_manifest_data": { "casting": { "cast_to": { - "one_of": [ - "email", - "phonecall", - "sms" + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" + }, + "baz": { + "type": "string" + } + }, + "required": [ + "attr1", + "baz" ], - "type": "symbol" + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.preferred_contact_method.value_not_valid": { + "data.attr1.outer_model.model_in_a_model.missing_required_attribute": { "category": "data", - "error": "duck::SupportedValidators::OneOf::ValueNotValidError", - "key": "data.preferred_contact_method.value_not_valid", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.outer_model.model_in_a_model.missing_required_attribute", "path": [ - "preferred_contact_method" + "attr1", + "outer_model", + "model_in_a_model" ], "processor_manifest_data": { - "one_of": [ - "email", - "phonecall", - "sms" - ] + "pipeline": null }, - "symbol": "value_not_valid" + "symbol": "missing_required_attribute" }, - "data.referral_channel.cannot_cast": { + "data.attr1.outer_model.model_in_a_model.unexpected_attributes": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referral_channel.cannot_cast", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.attr1.outer_model.model_in_a_model.unexpected_attributes", "path": [ - "referral_channel" + "attr1", + "outer_model", + "model_in_a_model" ], "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.referring_user.cannot_cast": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" + }, + "baz": { + "type": "string" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.attr1.outer_model.some_array.#.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referring_user.cannot_cast", + "key": "data.attr1.outer_model.some_array.#.cannot_cast", "path": [ - "referring_user" + "attr1", + "outer_model", + "some_array", + "#" ], "processor_manifest_data": { "casting": { "cast_to": { "attributes_declaration": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" }, "id": { "type": "integer" }, - "last_name": { - "allow_nil": true, - "type": "string" + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" }, - "preferred_contact_method": { - "one_of": [ - "email", - "phonecall", - "sms" - ], - "type": "symbol" + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" } }, "required": [ - "first_name", - "last_name", - "email" + "attr1", + "some_array", + "inner_model" ], "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "SomeOrg::Auth::User", - "model_module": "SomeOrg::Auth", - "name": "User", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", "primary_key": "id", "type": "entity" } @@ -11073,331 +10570,107 @@ }, "symbol": "cannot_cast" }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "allow_nil": true, - "type": "string" - }, - "preferred_contact_method": { - "one_of": [ - "email", - "phonecall", - "sms" - ], - "type": "symbol" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOrg::Auth::User" - } - } - }, - "symbol": "unexpected_attributes" - }, - "some_org::auth::create_referral>runtime.bad_referral": { - "category": "runtime", - "error": "SomeOrg::Auth::CreateReferral::BadReferralError", - "key": "some_org::auth::create_referral>runtime.bad_referral", - "runtime_path": [ - "some_org::auth::create_referral" - ], - "symbol": "bad_referral" - } - }, - "reference": "SomeOrg::Auth::CreateUser", - "result_type": { - "type": "SomeOrg::Auth::User" - }, - "result_types_depended_on": [ - "SomeOrg::Auth::User" - ], - "scoped_category": "command", - "scoped_full_name": "SomeOrg::Auth::CreateUser", - "scoped_full_path": [ - "SomeOrg", - "Auth", - "CreateUser" - ], - "scoped_name": "CreateUser", - "scoped_path": [ - "CreateUser" - ], - "scoped_prefix": null, - "scoped_short_name": "CreateUser", - "serializers": [ - "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" - ], - "types_depended_on": [ - "SomeOrg::Auth::User", - "array", - "attributes", - "duck", - "email", - "integer", - "string", - "symbol" - ] - }, - "SomeOrg::Math::CalculateExponent": { - "description": null, - "domain": "SomeOrg::Math", - "errors_types_depended_on": [ - "array", - "attributes", - "duck", - "integer", - "symbol" - ], - "inputs_type": { - "element_type_declarations": { - "base": { - "type": "integer" - }, - "exponent": { - "type": "integer" - } - }, - "required": [ - "base", - "exponent" - ], - "type": "attributes" - }, - "inputs_types_depended_on": [ - "array", - "attributes", - "duck", - "integer", - "symbol" - ], - "organization": "SomeOrg", - "parent": [ - "domain", - "SomeOrg::Math" - ], - "possible_errors": { - "data.base.cannot_cast": { + "data.attr1.outer_model.some_array.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.base.cannot_cast", + "key": "data.attr1.outer_model.some_array.cannot_cast", "path": [ - "base" + "attr1", + "outer_model", + "some_array" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" } } }, "symbol": "cannot_cast" }, - "data.base.missing_required_attribute": { + "data.attr1.outer_model.some_array.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.base.missing_required_attribute", + "key": "data.attr1.outer_model.some_array.missing_required_attribute", "path": [ - "base" + "attr1", + "outer_model", + "some_array" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "base", - "exponent" + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" ] }, "symbol": "missing_required_attribute" }, - "data.cannot_cast": { + "data.attr1.outer_model.unexpected_attributes": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.attr1.outer_model.unexpected_attributes", + "path": [ + "attr1", + "outer_model" + ], "processor_manifest_data": { - "casting": { - "cast_to": { + "element_type_declarations": { + "attr1": { "element_type_declarations": { - "base": { - "type": "integer" + "foo": { + "type": "string" }, - "exponent": { - "type": "integer" + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" } }, "required": [ - "base", - "exponent" + "inner_entity", + "foo" ], "type": "attributes" + }, + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "model_in_a_model": { + "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" } } }, - "symbol": "cannot_cast" - }, - "data.exponent.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.exponent.cannot_cast", - "path": [ - "exponent" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "integer" - } - } - }, - "symbol": "cannot_cast" + "symbol": "unexpected_attributes" }, - "data.exponent.missing_required_attribute": { + "data.attr1.unexpected_attributes": { "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.exponent.missing_required_attribute", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.attr1.unexpected_attributes", "path": [ - "exponent" + "attr1" ], - "processor_class": "attributes::SupportedValidators::Required", - "processor_manifest_data": { - "required": [ - "base", - "exponent" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "base": { - "type": "integer" - }, - "exponent": { - "type": "integer" + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" } } }, "symbol": "unexpected_attributes" }, - "runtime.negative_exponent": { - "category": "runtime", - "error": "SomeOrg::Math::CalculateExponent::NegativeExponentError", - "key": "runtime.negative_exponent", - "symbol": "negative_exponent" - } - }, - "reference": "SomeOrg::Math::CalculateExponent", - "result_type": { - "type": "integer" - }, - "result_types_depended_on": [ - "integer" - ], - "scoped_category": "command", - "scoped_full_name": "SomeOrg::Math::CalculateExponent", - "scoped_full_path": [ - "SomeOrg", - "Math", - "CalculateExponent" - ], - "scoped_name": "CalculateExponent", - "scoped_path": [ - "CalculateExponent" - ], - "scoped_prefix": null, - "scoped_short_name": "CalculateExponent", - "serializers": [ - "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" - ], - "types_depended_on": [ - "array", - "attributes", - "duck", - "integer", - "symbol" - ] - }, - "SomeOtherOrg::Auth::CreateReferral": { - "description": null, - "domain": "SomeOtherOrg::Auth", - "errors_types_depended_on": [ - "SomeOtherOrg::Auth::User", - "array", - "attributes", - "duck", - "string", - "symbol" - ], - "inputs_type": { - "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOtherOrg::Auth::User" - }, - "referring_user": { - "type": "SomeOtherOrg::Auth::User" - } - }, - "required": [ - "channel", - "referring_user", - "referred_user" - ], - "type": "attributes" - }, - "inputs_types_depended_on": [ - "SomeOtherOrg::Auth::User", - "array", - "attributes", - "duck", - "integer", - "string", - "symbol" - ], - "organization": "SomeOtherOrg", - "parent": [ - "domain", - "SomeOtherOrg::Auth" - ], - "possible_errors": { "data.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", @@ -11407,125 +10680,143 @@ "casting": { "cast_to": { "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + } + }, + "type": "attributes" }, - "referred_user": { - "type": "SomeOtherOrg::Auth::User" + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" }, - "referring_user": { - "type": "SomeOtherOrg::Auth::User" + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "type": "array" } }, - "required": [ - "channel", - "referring_user", - "referred_user" - ], "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.channel.cannot_cast": { + "data.outer_model.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.channel.cannot_cast", + "key": "data.outer_model.attr1.cannot_cast", "path": [ - "channel" + "outer_model", + "attr1" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "string" + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.channel.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.channel.missing_required_attribute", - "path": [ - "channel" - ], - "processor_class": "attributes::SupportedValidators::Required", - "processor_manifest_data": { - "required": [ - "channel", - "referring_user", - "referred_user" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.id.cannot_cast": { + "data.outer_model.attr1.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.id.cannot_cast", + "key": "data.outer_model.attr1.foo.cannot_cast", "path": [ - "id" + "outer_model", + "attr1", + "foo" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "type": "string" } } }, "symbol": "cannot_cast" }, - "data.missing_required_attribute": { + "data.outer_model.attr1.foo.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", + "key": "data.outer_model.attr1.foo.missing_required_attribute", + "path": [ + "outer_model", + "attr1", + "foo" + ], "processor_manifest_data": { - "pipeline": null + "required": [ + "inner_entity", + "foo" + ] }, "symbol": "missing_required_attribute" }, - "data.referred_user.cannot_cast": { + "data.outer_model.attr1.inner_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referred_user.cannot_cast", + "key": "data.outer_model.attr1.inner_entity.cannot_cast", "path": [ - "referred_user" + "outer_model", + "attr1", + "inner_entity" ], "processor_manifest_data": { "casting": { "cast_to": { "attributes_declaration": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, "id": { "type": "integer" }, - "last_name": { - "type": "string" + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" } }, "required": [ - "first_name", - "last_name", - "email" + "attr1", + "some_array", + "inner_model" ], "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "SomeOtherOrg::Auth::User", - "model_module": "SomeOtherOrg::Auth", - "name": "User", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", "primary_key": "id", "type": "entity" } @@ -11533,59 +10824,195 @@ }, "symbol": "cannot_cast" }, - "data.referred_user.missing_required_attribute": { + "data.outer_model.attr1.inner_entity.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.referred_user.missing_required_attribute", + "key": "data.outer_model.attr1.inner_entity.missing_required_attribute", "path": [ - "referred_user" + "outer_model", + "attr1", + "inner_entity" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "channel", - "referring_user", - "referred_user" + "inner_entity", + "foo" ] }, "symbol": "missing_required_attribute" }, - "data.referring_user.cannot_cast": { + "data.outer_model.attr1.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.outer_model.attr1.missing_required_attribute", + "path": [ + "outer_model", + "attr1" + ], + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.outer_model.attr1.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.outer_model.attr1.unexpected_attributes", + "path": [ + "outer_model", + "attr1" + ], + "processor_manifest_data": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.outer_model.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referring_user.cannot_cast", + "key": "data.outer_model.cannot_cast", "path": [ - "referring_user" + "outer_model" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "model_in_a_model": { + "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.outer_model.foo.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_model.foo.cannot_cast", + "path": [ + "outer_model", + "foo" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.outer_model.foo.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.outer_model.foo.missing_required_attribute", + "path": [ + "outer_model", + "foo" + ], + "processor_manifest_data": { + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.outer_model.inner_entity.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_model.inner_entity.cannot_cast", + "path": [ + "outer_model", + "inner_entity" ], "processor_manifest_data": { "casting": { "cast_to": { "attributes_declaration": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" }, "id": { "type": "integer" }, - "last_name": { - "type": "string" + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" } }, "required": [ - "first_name", - "last_name", - "email" + "attr1", + "some_array", + "inner_model" ], "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "SomeOtherOrg::Auth::User", - "model_module": "SomeOtherOrg::Auth", - "name": "User", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", "primary_key": "id", "type": "entity" } @@ -11593,381 +11020,421 @@ }, "symbol": "cannot_cast" }, - "data.referring_user.missing_required_attribute": { + "data.outer_model.inner_entity.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.referring_user.missing_required_attribute", + "key": "data.outer_model.inner_entity.missing_required_attribute", "path": [ - "referring_user" + "outer_model", + "inner_entity" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "channel", - "referring_user", - "referred_user" + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" ] }, "symbol": "missing_required_attribute" }, - "data.unexpected_attributes": { + "data.outer_model.missing_required_attribute": { "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.outer_model.missing_required_attribute", + "path": [ + "outer_model" + ], "processor_manifest_data": { - "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOtherOrg::Auth::User" - }, - "referring_user": { - "type": "SomeOtherOrg::Auth::User" - } - } + "pipeline": null }, - "symbol": "unexpected_attributes" - }, - "runtime.bad_referral": { - "category": "runtime", - "error": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", - "key": "runtime.bad_referral", - "symbol": "bad_referral" - } - }, - "reference": "SomeOtherOrg::Auth::CreateReferral", - "result_type": { - "type": "SomeOtherOrg::Auth::Referral" - }, - "result_types_depended_on": [ - "SomeOtherOrg::Auth::Referral" - ], - "scoped_category": "command", - "scoped_full_name": "SomeOtherOrg::Auth::CreateReferral", - "scoped_full_path": [ - "SomeOtherOrg", - "Auth", - "CreateReferral" - ], - "scoped_name": "CreateReferral", - "scoped_path": [ - "CreateReferral" - ], - "scoped_prefix": null, - "scoped_short_name": "CreateReferral", - "serializers": [ - "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" - ], - "types_depended_on": [ - "SomeOtherOrg::Auth::Referral", - "SomeOtherOrg::Auth::User", - "array", - "attributes", - "duck", - "integer", - "string", - "symbol" - ] - }, - "SomeOtherOrg::Auth::CreateUser": { - "depends_on": [ - "SomeOtherOrg::Auth::CreateReferral" - ], - "description": null, - "domain": "SomeOtherOrg::Auth", - "errors_types_depended_on": [ - "SomeOtherOrg::Auth::User", - "array", - "attributes", - "duck", - "string", - "symbol" - ], - "inputs_type": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "type": "string" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOtherOrg::Auth::User" - } + "symbol": "missing_required_attribute" }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" - }, - "inputs_types_depended_on": [ - "SomeOtherOrg::Auth::User", - "array", - "attributes", - "duck", - "email", - "integer", - "string", - "symbol" - ], - "organization": "SomeOtherOrg", - "parent": [ - "domain", - "SomeOtherOrg::Auth" - ], - "possible_errors": { - "data.cannot_cast": { + "data.outer_model.model_in_a_model.attr1.baz.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", + "key": "data.outer_model.model_in_a_model.attr1.baz.cannot_cast", + "path": [ + "outer_model", + "model_in_a_model", + "attr1", + "baz" + ], "processor_manifest_data": { "casting": { "cast_to": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "type": "string" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOtherOrg::Auth::User" - } - }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" + "type": "string" } } }, "symbol": "cannot_cast" }, - "data.email.cannot_cast": { + "data.outer_model.model_in_a_model.attr1.baz.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.outer_model.model_in_a_model.attr1.baz.missing_required_attribute", + "path": [ + "outer_model", + "model_in_a_model", + "attr1", + "baz" + ], + "processor_manifest_data": { + "required": [ + "baz" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.outer_model.model_in_a_model.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.email.cannot_cast", + "key": "data.outer_model.model_in_a_model.attr1.cannot_cast", "path": [ - "email" + "outer_model", + "model_in_a_model", + "attr1" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "email" + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.email.cannot_exceed64_characters": { + "data.outer_model.model_in_a_model.attr1.missing_required_attribute": { "category": "data", - "error": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", - "key": "data.email.cannot_exceed64_characters", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.outer_model.model_in_a_model.attr1.missing_required_attribute", "path": [ - "email" + "outer_model", + "model_in_a_model", + "attr1" ], "processor_manifest_data": { - "cannot_exceed64_characters": true + "pipeline": null }, - "symbol": "cannot_exceed64_characters" + "symbol": "missing_required_attribute" }, - "data.email.cannot_have_multiple_at_signs": { + "data.outer_model.model_in_a_model.attr1.unexpected_attributes": { "category": "data", - "error": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", - "key": "data.email.cannot_have_multiple_at_signs", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.outer_model.model_in_a_model.attr1.unexpected_attributes", "path": [ - "email" + "outer_model", + "model_in_a_model", + "attr1" ], "processor_manifest_data": { - "cannot_have_multiple_at_signs": true + "element_type_declarations": { + "baz": { + "type": "string" + } + } }, - "symbol": "cannot_have_multiple_at_signs" + "symbol": "unexpected_attributes" }, - "data.email.domain_cannot_start_with_or_end_with_a_hyphen": { + "data.outer_model.model_in_a_model.baz.cannot_cast": { "category": "data", - "error": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", - "key": "data.email.domain_cannot_start_with_or_end_with_a_hyphen", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_model.model_in_a_model.baz.cannot_cast", "path": [ - "email" + "outer_model", + "model_in_a_model", + "baz" ], "processor_manifest_data": { - "domain_cannot_start_with_or_end_with_a_hyphen": true + "casting": { + "cast_to": { + "type": "string" + } + } }, - "symbol": "domain_cannot_start_with_or_end_with_a_hyphen" + "symbol": "cannot_cast" }, - "data.email.first_part_cannot_be_empty": { + "data.outer_model.model_in_a_model.baz.missing_required_attribute": { "category": "data", - "error": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", - "key": "data.email.first_part_cannot_be_empty", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.outer_model.model_in_a_model.baz.missing_required_attribute", "path": [ - "email" + "outer_model", + "model_in_a_model", + "baz" ], "processor_manifest_data": { - "first_part_cannot_be_empty": true + "required": [ + "attr1", + "baz" + ] }, - "symbol": "first_part_cannot_be_empty" + "symbol": "missing_required_attribute" }, - "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": { + "data.outer_model.model_in_a_model.cannot_cast": { "category": "data", - "error": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", - "key": "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_model.model_in_a_model.cannot_cast", "path": [ - "email" + "outer_model", + "model_in_a_model" ], "processor_manifest_data": { - "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": true - }, - "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row" - }, - "data.email.first_part_has_bad_characters": { - "category": "data", - "error": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", - "key": "data.email.first_part_has_bad_characters", - "path": [ - "email" - ], - "processor_manifest_data": { - "first_part_has_bad_characters": true + "casting": { + "cast_to": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" + }, + "baz": { + "type": "string" + } + }, + "required": [ + "attr1", + "baz" + ], + "type": "attributes" + } + } }, - "symbol": "first_part_has_bad_characters" + "symbol": "cannot_cast" }, - "data.email.missing_required_attribute": { + "data.outer_model.model_in_a_model.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.email.missing_required_attribute", + "key": "data.outer_model.model_in_a_model.missing_required_attribute", "path": [ - "email" + "outer_model", + "model_in_a_model" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { - "required": [ - "first_name", - "last_name", - "email" - ] + "pipeline": null }, "symbol": "missing_required_attribute" }, - "data.email.must_have_an_at_sign": { - "category": "data", - "error": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", - "key": "data.email.must_have_an_at_sign", - "path": [ - "email" - ], - "processor_manifest_data": { - "must_have_an_at_sign": true - }, - "symbol": "must_have_an_at_sign" - }, - "data.email.second_part_cannot_be_empty": { + "data.outer_model.model_in_a_model.unexpected_attributes": { "category": "data", - "error": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", - "key": "data.email.second_part_cannot_be_empty", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.outer_model.model_in_a_model.unexpected_attributes", "path": [ - "email" + "outer_model", + "model_in_a_model" ], "processor_manifest_data": { - "second_part_cannot_be_empty": true + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" + }, + "baz": { + "type": "string" + } + } }, - "symbol": "second_part_cannot_be_empty" + "symbol": "unexpected_attributes" }, - "data.email.second_part_has_bad_characters": { + "data.outer_model.some_array.#.cannot_cast": { "category": "data", - "error": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", - "key": "data.email.second_part_has_bad_characters", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_model.some_array.#.cannot_cast", "path": [ - "email" + "outer_model", + "some_array", + "#" ], "processor_manifest_data": { - "second_part_has_bad_characters": true + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", + "primary_key": "id", + "type": "entity" + } + } }, - "symbol": "second_part_has_bad_characters" + "symbol": "cannot_cast" }, - "data.first_name.cannot_cast": { + "data.outer_model.some_array.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.first_name.cannot_cast", + "key": "data.outer_model.some_array.cannot_cast", "path": [ - "first_name" + "outer_model", + "some_array" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "string" + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" } } }, "symbol": "cannot_cast" }, - "data.first_name.missing_required_attribute": { + "data.outer_model.some_array.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.first_name.missing_required_attribute", + "key": "data.outer_model.some_array.missing_required_attribute", "path": [ - "first_name" + "outer_model", + "some_array" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "first_name", - "last_name", - "email" + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" ] }, "symbol": "missing_required_attribute" }, - "data.id.cannot_cast": { + "data.outer_model.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.outer_model.unexpected_attributes", + "path": [ + "outer_model" + ], + "processor_manifest_data": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "model_in_a_model": { + "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.some_array.#.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.id.cannot_cast", + "key": "data.some_array.#.attr1.cannot_cast", "path": [ - "id" + "some_array", + "#", + "attr1" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.last_name.cannot_cast": { + "data.some_array.#.attr1.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.last_name.cannot_cast", + "key": "data.some_array.#.attr1.foo.cannot_cast", "path": [ - "last_name" + "some_array", + "#", + "attr1", + "foo" ], "processor_manifest_data": { "casting": { @@ -11978,85 +11445,74 @@ }, "symbol": "cannot_cast" }, - "data.last_name.missing_required_attribute": { + "data.some_array.#.attr1.foo.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.last_name.missing_required_attribute", + "key": "data.some_array.#.attr1.foo.missing_required_attribute", "path": [ - "last_name" + "some_array", + "#", + "attr1", + "foo" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "first_name", - "last_name", - "email" + "inner_entity", + "foo" ] }, "symbol": "missing_required_attribute" }, - "data.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.referral_channel.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referral_channel.cannot_cast", - "path": [ - "referral_channel" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.referring_user.cannot_cast": { + "data.some_array.#.attr1.inner_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referring_user.cannot_cast", + "key": "data.some_array.#.attr1.inner_entity.cannot_cast", "path": [ - "referring_user" + "some_array", + "#", + "attr1", + "inner_entity" ], "processor_manifest_data": { "casting": { "cast_to": { "attributes_declaration": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" }, "id": { "type": "integer" }, - "last_name": { - "type": "string" + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" } }, "required": [ - "first_name", - "last_name", - "email" + "attr1", + "some_array", + "inner_model" ], "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "SomeOtherOrg::Auth::User", - "model_module": "SomeOtherOrg::Auth", - "name": "User", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", "primary_key": "id", "type": "entity" } @@ -12064,169 +11520,108 @@ }, "symbol": "cannot_cast" }, - "data.unexpected_attributes": { + "data.some_array.#.attr1.inner_entity.missing_required_attribute": { "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "type": "string" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOtherOrg::Auth::User" - } - } - }, - "symbol": "unexpected_attributes" - }, - "some_other_org::auth::create_referral>runtime.bad_referral": { - "category": "runtime", - "error": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", - "key": "some_other_org::auth::create_referral>runtime.bad_referral", - "runtime_path": [ - "some_other_org::auth::create_referral" + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.some_array.#.attr1.inner_entity.missing_required_attribute", + "path": [ + "some_array", + "#", + "attr1", + "inner_entity" ], - "symbol": "bad_referral" - } - }, - "reference": "SomeOtherOrg::Auth::CreateUser", - "result_type": { - "type": "SomeOtherOrg::Auth::User" - }, - "result_types_depended_on": [ - "SomeOtherOrg::Auth::User" - ], - "scoped_category": "command", - "scoped_full_name": "SomeOtherOrg::Auth::CreateUser", - "scoped_full_path": [ - "SomeOtherOrg", - "Auth", - "CreateUser" - ], - "scoped_name": "CreateUser", - "scoped_path": [ - "CreateUser" - ], - "scoped_prefix": null, - "scoped_short_name": "CreateUser", - "serializers": [ - "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" - ], - "types_depended_on": [ - "SomeOtherOrg::Auth::User", - "array", - "attributes", - "duck", - "email", - "integer", - "string", - "symbol" - ] - }, - "SomeOtherOrg::Math::CalculateExponent": { - "description": null, - "domain": "SomeOtherOrg::Math", - "errors_types_depended_on": [ - "array", - "attributes", - "duck", - "integer", - "symbol" - ], - "inputs_type": { - "element_type_declarations": { - "base": { - "type": "integer" + "processor_manifest_data": { + "required": [ + "inner_entity", + "foo" + ] }, - "exponent": { - "type": "integer" - } + "symbol": "missing_required_attribute" }, - "required": [ - "base", - "exponent" - ], - "type": "attributes" - }, - "inputs_types_depended_on": [ - "array", - "attributes", - "duck", - "integer", - "symbol" - ], - "organization": "SomeOtherOrg", - "parent": [ - "domain", - "SomeOtherOrg::Math" - ], - "possible_errors": { - "data.base.cannot_cast": { + "data.some_array.#.attr1.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.base.cannot_cast", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.some_array.#.attr1.missing_required_attribute", "path": [ - "base" + "some_array", + "#", + "attr1" ], "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "integer" - } - } + "pipeline": null }, - "symbol": "cannot_cast" + "symbol": "missing_required_attribute" }, - "data.base.missing_required_attribute": { + "data.some_array.#.attr1.unexpected_attributes": { "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.base.missing_required_attribute", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.some_array.#.attr1.unexpected_attributes", "path": [ - "base" + "some_array", + "#", + "attr1" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { - "required": [ - "base", - "exponent" - ] + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + } }, - "symbol": "missing_required_attribute" + "symbol": "unexpected_attributes" }, - "data.cannot_cast": { + "data.some_array.#.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", + "key": "data.some_array.#.cannot_cast", + "path": [ + "some_array", + "#" + ], "processor_manifest_data": { "casting": { "cast_to": { "element_type_declarations": { - "base": { - "type": "integer" - }, - "exponent": { - "type": "integer" + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "model_in_a_model": { + "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" } }, "required": [ - "base", - "exponent" + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" ], "type": "attributes" } @@ -12234,485 +11629,600 @@ }, "symbol": "cannot_cast" }, - "data.exponent.cannot_cast": { + "data.some_array.#.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.exponent.cannot_cast", + "key": "data.some_array.#.foo.cannot_cast", "path": [ - "exponent" + "some_array", + "#", + "foo" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "type": "string" } } }, "symbol": "cannot_cast" }, - "data.exponent.missing_required_attribute": { + "data.some_array.#.foo.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.exponent.missing_required_attribute", + "key": "data.some_array.#.foo.missing_required_attribute", "path": [ - "exponent" + "some_array", + "#", + "foo" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "base", - "exponent" + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" ] }, "symbol": "missing_required_attribute" }, - "data.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "base": { - "type": "integer" - }, - "exponent": { - "type": "integer" - } - } - }, - "symbol": "unexpected_attributes" - }, - "runtime.negative_exponent": { - "category": "runtime", - "error": "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError", - "key": "runtime.negative_exponent", - "symbol": "negative_exponent" - } - }, - "reference": "SomeOtherOrg::Math::CalculateExponent", - "result_type": { - "type": "integer" - }, - "result_types_depended_on": [ - "integer" - ], - "scoped_category": "command", - "scoped_full_name": "SomeOtherOrg::Math::CalculateExponent", - "scoped_full_path": [ - "SomeOtherOrg", - "Math", - "CalculateExponent" - ], - "scoped_name": "CalculateExponent", - "scoped_path": [ - "CalculateExponent" - ], - "scoped_prefix": null, - "scoped_short_name": "CalculateExponent", - "serializers": [ - "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" - ], - "types_depended_on": [ - "array", - "attributes", - "duck", - "integer", - "symbol" - ] - }, - "SomeOtherOrg::SomeOtherAuth::CreateReferral": { - "description": null, - "domain": "SomeOtherOrg::SomeOtherAuth", - "errors_types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::User", - "array", - "attributes", - "duck", - "string", - "symbol" - ], - "inputs_type": { - "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" - }, - "referring_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" - } - }, - "required": [ - "channel", - "referring_user", - "referred_user" - ], - "type": "attributes" - }, - "inputs_types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::User", - "array", - "attributes", - "duck", - "integer", - "string", - "symbol" - ], - "organization": "SomeOtherOrg", - "parent": [ - "domain", - "SomeOtherOrg::SomeOtherAuth" - ], - "possible_errors": { - "data.cannot_cast": { + "data.some_array.#.inner_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", + "key": "data.some_array.#.inner_entity.cannot_cast", + "path": [ + "some_array", + "#", + "inner_entity" + ], "processor_manifest_data": { "casting": { "cast_to": { - "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" + } }, - "referring_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" - } + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" }, - "required": [ - "channel", - "referring_user", - "referred_user" - ], - "type": "attributes" + "model_base_class": "Foobara::Entity", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" }, - "data.channel.cannot_cast": { + "data.some_array.#.inner_entity.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.channel.cannot_cast", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.some_array.#.inner_entity.missing_required_attribute", "path": [ - "channel" + "some_array", + "#", + "inner_entity" ], "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.some_array.#.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.some_array.#.missing_required_attribute", + "path": [ + "some_array", + "#" + ], + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.some_array.#.model_in_a_model.attr1.baz.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.some_array.#.model_in_a_model.attr1.baz.cannot_cast", + "path": [ + "some_array", + "#", + "model_in_a_model", + "attr1", + "baz" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } } }, "symbol": "cannot_cast" }, - "data.channel.missing_required_attribute": { + "data.some_array.#.model_in_a_model.attr1.baz.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.channel.missing_required_attribute", + "key": "data.some_array.#.model_in_a_model.attr1.baz.missing_required_attribute", "path": [ - "channel" + "some_array", + "#", + "model_in_a_model", + "attr1", + "baz" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "channel", - "referring_user", - "referred_user" + "baz" ] }, "symbol": "missing_required_attribute" }, - "data.id.cannot_cast": { + "data.some_array.#.model_in_a_model.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.id.cannot_cast", + "key": "data.some_array.#.model_in_a_model.attr1.cannot_cast", "path": [ - "id" + "some_array", + "#", + "model_in_a_model", + "attr1" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.missing_required_attribute": { + "data.some_array.#.model_in_a_model.attr1.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", + "key": "data.some_array.#.model_in_a_model.attr1.missing_required_attribute", + "path": [ + "some_array", + "#", + "model_in_a_model", + "attr1" + ], "processor_manifest_data": { "pipeline": null }, "symbol": "missing_required_attribute" }, - "data.referred_user.cannot_cast": { + "data.some_array.#.model_in_a_model.attr1.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.some_array.#.model_in_a_model.attr1.unexpected_attributes", + "path": [ + "some_array", + "#", + "model_in_a_model", + "attr1" + ], + "processor_manifest_data": { + "element_type_declarations": { + "baz": { + "type": "string" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.some_array.#.model_in_a_model.baz.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referred_user.cannot_cast", + "key": "data.some_array.#.model_in_a_model.baz.cannot_cast", "path": [ - "referred_user" + "some_array", + "#", + "model_in_a_model", + "baz" ], "processor_manifest_data": { "casting": { "cast_to": { - "attributes_declaration": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "type": "string" - } - }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" - }, - "model_base_class": "Foobara::Entity", - "model_class": "SomeOtherOrg::SomeOtherAuth::User", - "model_module": "SomeOtherOrg::SomeOtherAuth", - "name": "User", - "primary_key": "id", - "type": "entity" + "type": "string" } } }, "symbol": "cannot_cast" }, - "data.referred_user.missing_required_attribute": { + "data.some_array.#.model_in_a_model.baz.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.referred_user.missing_required_attribute", + "key": "data.some_array.#.model_in_a_model.baz.missing_required_attribute", "path": [ - "referred_user" + "some_array", + "#", + "model_in_a_model", + "baz" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { "required": [ - "channel", - "referring_user", - "referred_user" + "attr1", + "baz" ] }, "symbol": "missing_required_attribute" }, - "data.referring_user.cannot_cast": { + "data.some_array.#.model_in_a_model.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referring_user.cannot_cast", + "key": "data.some_array.#.model_in_a_model.cannot_cast", "path": [ - "referring_user" + "some_array", + "#", + "model_in_a_model" ], "processor_manifest_data": { "casting": { "cast_to": { - "attributes_declaration": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "baz": { + "type": "string" + } }, - "last_name": { - "type": "string" - } + "required": [ + "baz" + ], + "type": "attributes" }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" + "baz": { + "type": "string" + } }, - "model_base_class": "Foobara::Entity", - "model_class": "SomeOtherOrg::SomeOtherAuth::User", - "model_module": "SomeOtherOrg::SomeOtherAuth", - "name": "User", - "primary_key": "id", - "type": "entity" + "required": [ + "attr1", + "baz" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.referring_user.missing_required_attribute": { + "data.some_array.#.model_in_a_model.missing_required_attribute": { "category": "data", "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.referring_user.missing_required_attribute", + "key": "data.some_array.#.model_in_a_model.missing_required_attribute", "path": [ - "referring_user" + "some_array", + "#", + "model_in_a_model" ], - "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { - "required": [ - "channel", - "referring_user", - "referred_user" - ] + "pipeline": null }, "symbol": "missing_required_attribute" }, - "data.unexpected_attributes": { + "data.some_array.#.model_in_a_model.unexpected_attributes": { "category": "data", "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "key": "data.some_array.#.model_in_a_model.unexpected_attributes", + "path": [ + "some_array", + "#", + "model_in_a_model" + ], "processor_manifest_data": { "element_type_declarations": { - "channel": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "referred_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" + "attr1": { + "element_type_declarations": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "type": "attributes" }, - "referring_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" + "baz": { + "type": "string" } } }, "symbol": "unexpected_attributes" }, - "runtime.bad_referral": { - "category": "runtime", - "error": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", - "key": "runtime.bad_referral", - "symbol": "bad_referral" + "data.some_array.#.some_array.#.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.some_array.#.some_array.#.cannot_cast", + "path": [ + "some_array", + "#", + "some_array", + "#" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerModelNoCollisions" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModelsNoCollisions::TypesNoCollisions::InnerEntityNoCollisions", + "model_module": "NestedModelsNoCollisions::TypesNoCollisions", + "name": "InnerEntityNoCollisions", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.some_array.#.some_array.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.some_array.#.some_array.cannot_cast", + "path": [ + "some_array", + "#", + "some_array" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" + } + } + }, + "symbol": "cannot_cast" + }, + "data.some_array.#.some_array.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.some_array.#.some_array.missing_required_attribute", + "path": [ + "some_array", + "#", + "some_array" + ], + "processor_manifest_data": { + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo", + "model_in_a_model" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.some_array.#.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.some_array.#.unexpected_attributes", + "path": [ + "some_array", + "#" + ], + "processor_manifest_data": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "model_in_a_model": { + "type": "NestedModelsNoCollisions::ModelInAModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::InnerEntityNoCollisions" + }, + "type": "array" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.some_array.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.some_array.cannot_cast", + "path": [ + "some_array" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "type": "array" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + } + }, + "type": "attributes" + }, + "outer_model": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "type": "array" + } + } + }, + "symbol": "unexpected_attributes" } }, - "reference": "SomeOtherOrg::SomeOtherAuth::CreateReferral", + "reference": "NestedModelsNoCollisions::CreateNestedNoCollisions", "result_type": { - "type": "SomeOtherOrg::SomeOtherAuth::Referral" + "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" }, "result_types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::Referral" + "NestedModelsNoCollisions::OuterEntityNoCollisions" ], "scoped_category": "command", - "scoped_full_name": "SomeOtherOrg::SomeOtherAuth::CreateReferral", + "scoped_full_name": "NestedModelsNoCollisions::CreateNestedNoCollisions", "scoped_full_path": [ - "SomeOtherOrg", - "SomeOtherAuth", - "CreateReferral" + "NestedModelsNoCollisions", + "CreateNestedNoCollisions" ], - "scoped_name": "CreateReferral", + "scoped_name": "CreateNestedNoCollisions", "scoped_path": [ - "CreateReferral" + "CreateNestedNoCollisions" ], "scoped_prefix": null, - "scoped_short_name": "CreateReferral", + "scoped_short_name": "CreateNestedNoCollisions", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", "Foobara::CommandConnectors::Serializers::JsonSerializer" ], "types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::Referral", - "SomeOtherOrg::SomeOtherAuth::User", + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModelsNoCollisions::OuterModelNoCollisions", "array", "attributes", "duck", - "integer", - "string", "symbol" ] }, - "SomeOtherOrg::SomeOtherAuth::CreateUser": { - "depends_on": [ - "SomeOtherOrg::SomeOtherAuth::CreateReferral" - ], + "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions": { "description": null, - "domain": "SomeOtherOrg::SomeOtherAuth", + "domain": "NestedModelsNoCollisions", "errors_types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::User", "array", "attributes", "duck", - "string", "symbol" ], "inputs_type": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { + "outer_entity_id": { "type": "integer" - }, - "last_name": { - "type": "string" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" } }, - "required": [ - "first_name", - "last_name", - "email" - ], "type": "attributes" }, "inputs_types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::User", "array", "attributes", "duck", - "email", "integer", - "string", "symbol" ], - "organization": "SomeOtherOrg", + "organization": "global_organization", "parent": [ "domain", - "SomeOtherOrg::SomeOtherAuth" + "NestedModelsNoCollisions" ], "possible_errors": { "data.cannot_cast": { @@ -12724,323 +12234,300 @@ "casting": { "cast_to": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { + "outer_entity_id": { "type": "integer" - }, - "last_name": { - "type": "string" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" } }, - "required": [ - "first_name", - "last_name", - "email" - ], "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.email.cannot_cast": { + "data.outer_entity_id.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.email.cannot_cast", + "key": "data.outer_entity_id.cannot_cast", "path": [ - "email" + "outer_entity_id" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "email" + "type": "integer" } } }, "symbol": "cannot_cast" }, - "data.email.cannot_exceed64_characters": { - "category": "data", - "error": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", - "key": "data.email.cannot_exceed64_characters", - "path": [ - "email" - ], - "processor_manifest_data": { - "cannot_exceed64_characters": true - }, - "symbol": "cannot_exceed64_characters" - }, - "data.email.cannot_have_multiple_at_signs": { - "category": "data", - "error": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", - "key": "data.email.cannot_have_multiple_at_signs", - "path": [ - "email" - ], - "processor_manifest_data": { - "cannot_have_multiple_at_signs": true - }, - "symbol": "cannot_have_multiple_at_signs" - }, - "data.email.domain_cannot_start_with_or_end_with_a_hyphen": { - "category": "data", - "error": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", - "key": "data.email.domain_cannot_start_with_or_end_with_a_hyphen", - "path": [ - "email" - ], - "processor_manifest_data": { - "domain_cannot_start_with_or_end_with_a_hyphen": true - }, - "symbol": "domain_cannot_start_with_or_end_with_a_hyphen" - }, - "data.email.first_part_cannot_be_empty": { - "category": "data", - "error": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", - "key": "data.email.first_part_cannot_be_empty", - "path": [ - "email" - ], - "processor_manifest_data": { - "first_part_cannot_be_empty": true - }, - "symbol": "first_part_cannot_be_empty" - }, - "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": { - "category": "data", - "error": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", - "key": "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", - "path": [ - "email" - ], - "processor_manifest_data": { - "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": true - }, - "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row" - }, - "data.email.first_part_has_bad_characters": { - "category": "data", - "error": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", - "key": "data.email.first_part_has_bad_characters", - "path": [ - "email" - ], - "processor_manifest_data": { - "first_part_has_bad_characters": true - }, - "symbol": "first_part_has_bad_characters" - }, - "data.email.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.email.missing_required_attribute", - "path": [ - "email" - ], - "processor_class": "attributes::SupportedValidators::Required", - "processor_manifest_data": { - "required": [ - "first_name", - "last_name", - "email" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.email.must_have_an_at_sign": { + "data.unexpected_attributes": { "category": "data", - "error": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", - "key": "data.email.must_have_an_at_sign", - "path": [ - "email" - ], + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { - "must_have_an_at_sign": true + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + } }, - "symbol": "must_have_an_at_sign" + "symbol": "unexpected_attributes" + } + }, + "reference": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions", + "result_type": { + "element_type_declarations": { + "foo": { + "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + } }, - "data.email.second_part_cannot_be_empty": { - "category": "data", - "error": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", - "key": "data.email.second_part_cannot_be_empty", - "path": [ - "email" - ], - "processor_manifest_data": { - "second_part_cannot_be_empty": true - }, - "symbol": "second_part_cannot_be_empty" + "type": "attributes" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "array", + "attributes", + "duck", + "symbol" + ], + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions", + "scoped_full_path": [ + "NestedModelsNoCollisions", + "FindNestedButPutInAttributesNoCollisions" + ], + "scoped_name": "FindNestedButPutInAttributesNoCollisions", + "scoped_path": [ + "FindNestedButPutInAttributesNoCollisions" + ], + "scoped_prefix": null, + "scoped_short_name": "FindNestedButPutInAttributesNoCollisions", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "array", + "attributes", + "duck", + "integer", + "symbol" + ] + }, + "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } }, - "data.email.second_part_has_bad_characters": { + "type": "attributes" + }, + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ], + "organization": "global_organization", + "parent": [ + "domain", + "NestedModelsNoCollisions" + ], + "possible_errors": { + "data.cannot_cast": { "category": "data", - "error": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", - "key": "data.email.second_part_has_bad_characters", - "path": [ - "email" - ], + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", "processor_manifest_data": { - "second_part_has_bad_characters": true + "casting": { + "cast_to": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + } + } }, - "symbol": "second_part_has_bad_characters" + "symbol": "cannot_cast" }, - "data.first_name.cannot_cast": { + "data.outer_entity_id.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.first_name.cannot_cast", + "key": "data.outer_entity_id.cannot_cast", "path": [ - "first_name" + "outer_entity_id" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "string" + "type": "integer" } } }, "symbol": "cannot_cast" }, - "data.first_name.missing_required_attribute": { + "data.unexpected_attributes": { "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.first_name.missing_required_attribute", - "path": [ - "first_name" - ], - "processor_class": "attributes::SupportedValidators::Required", - "processor_manifest_data": { - "required": [ - "first_name", - "last_name", - "email" - ] - }, - "symbol": "missing_required_attribute" - }, - "data.id.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.id.cannot_cast", - "path": [ - "id" - ], + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { - "casting": { - "cast_to": { + "element_type_declarations": { + "outer_entity_id": { "type": "integer" } } }, - "symbol": "cannot_cast" - }, - "data.last_name.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.last_name.cannot_cast", - "path": [ - "last_name" + "symbol": "unexpected_attributes" + } + }, + "pre_commit_transformers": [ + { + "domain": "Foobara::CommandConnectors", + "name": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "organization": "Foobara", + "parent": [ + "domain", + "Foobara::CommandConnectors" ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.last_name.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.last_name.missing_required_attribute", - "path": [ - "last_name" + "processor_type": "transformer", + "reference": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "scoped_category": "processor_class", + "scoped_full_name": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "scoped_full_path": [ + "Foobara", + "CommandConnectors", + "Transformers", + "LoadAggregatesPreCommitTransformer" ], - "processor_class": "attributes::SupportedValidators::Required", - "processor_manifest_data": { - "required": [ - "first_name", - "last_name", - "email" - ] - }, - "symbol": "missing_required_attribute" + "scoped_name": "Transformers::LoadAggregatesPreCommitTransformer", + "scoped_path": [ + "Transformers", + "LoadAggregatesPreCommitTransformer" + ], + "scoped_prefix": [ + "Transformers" + ], + "scoped_short_name": "LoadAggregatesPreCommitTransformer" + } + ], + "reference": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate", + "result_type": { + "element_type_declarations": { + "foo": { + "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + } }, - "data.missing_required_attribute": { - "category": "data", - "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "key": "data.missing_required_attribute", - "processor_class": "Foobara::Value::Processor::Pipeline", - "processor_manifest_data": { - "pipeline": null - }, - "symbol": "missing_required_attribute" + "type": "attributes" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "array", + "attributes", + "duck", + "symbol" + ], + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate", + "scoped_full_path": [ + "NestedModelsNoCollisions", + "FindNestedButPutInAttributesNoCollisionsAggregate" + ], + "scoped_name": "FindNestedButPutInAttributesNoCollisionsAggregate", + "scoped_path": [ + "FindNestedButPutInAttributesNoCollisionsAggregate" + ], + "scoped_prefix": null, + "scoped_short_name": "FindNestedButPutInAttributesNoCollisionsAggregate", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer", + "Foobara::CommandConnectors::Serializers::AggregateSerializer" + ], + "types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "array", + "attributes", + "duck", + "integer", + "symbol" + ] + }, + "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } }, - "data.referral_channel.cannot_cast": { + "type": "attributes" + }, + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ], + "organization": "global_organization", + "parent": [ + "domain", + "NestedModelsNoCollisions" + ], + "possible_errors": { + "data.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referral_channel.cannot_cast", - "path": [ - "referral_channel" - ], + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", "processor_manifest_data": { "casting": { "cast_to": { - "type": "string" + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.referring_user.cannot_cast": { + "data.outer_entity_id.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.referring_user.cannot_cast", + "key": "data.outer_entity_id.cannot_cast", "path": [ - "referring_user" + "outer_entity_id" ], "processor_manifest_data": { "casting": { "cast_to": { - "attributes_declaration": { - "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { - "type": "integer" - }, - "last_name": { - "type": "string" - } - }, - "required": [ - "first_name", - "last_name", - "email" - ], - "type": "attributes" - }, - "model_base_class": "Foobara::Entity", - "model_class": "SomeOtherOrg::SomeOtherAuth::User", - "model_module": "SomeOtherOrg::SomeOtherAuth", - "name": "User", - "primary_key": "id", - "type": "entity" + "type": "integer" } } }, @@ -13053,616 +12540,672 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "email": { - "type": "email" - }, - "first_name": { - "type": "string" - }, - "id": { + "outer_entity_id": { "type": "integer" - }, - "last_name": { - "type": "string" - }, - "referral_channel": { - "type": "string" - }, - "referring_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" } } }, "symbol": "unexpected_attributes" - }, - "some_other_org::some_other_auth::create_referral>runtime.bad_referral": { - "category": "runtime", - "error": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", - "key": "some_other_org::some_other_auth::create_referral>runtime.bad_referral", - "runtime_path": [ - "some_other_org::some_other_auth::create_referral" - ], - "symbol": "bad_referral" } }, - "reference": "SomeOtherOrg::SomeOtherAuth::CreateUser", + "reference": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom", "result_type": { - "type": "SomeOtherOrg::SomeOtherAuth::User" + "element_type_declarations": { + "foo": { + "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + } + }, + "type": "attributes" }, "result_types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::User" + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "array", + "attributes", + "duck", + "symbol" ], "scoped_category": "command", - "scoped_full_name": "SomeOtherOrg::SomeOtherAuth::CreateUser", + "scoped_full_name": "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom", "scoped_full_path": [ - "SomeOtherOrg", - "SomeOtherAuth", - "CreateUser" + "NestedModelsNoCollisions", + "FindNestedButPutInAttributesNoCollisionsAtom" ], - "scoped_name": "CreateUser", + "scoped_name": "FindNestedButPutInAttributesNoCollisionsAtom", "scoped_path": [ - "CreateUser" + "FindNestedButPutInAttributesNoCollisionsAtom" ], "scoped_prefix": null, - "scoped_short_name": "CreateUser", + "scoped_short_name": "FindNestedButPutInAttributesNoCollisionsAtom", "serializers": [ "Foobara::CommandConnectors::Serializers::ErrorsSerializer", - "Foobara::CommandConnectors::Serializers::JsonSerializer" + "Foobara::CommandConnectors::Serializers::JsonSerializer", + "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], "types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::User", + "NestedModelsNoCollisions::OuterEntityNoCollisions", "array", "attributes", "duck", - "email", "integer", - "string", "symbol" ] - } - }, - "domain": { - "Foobara::Ai::Gpt": { - "commands": [ - "Foobara::Ai::Gpt::GenerateCompletion" - ], - "domain": "Foobara::Ai::Gpt", - "organization": "Foobara::Ai", - "parent": [ - "organization", - "Foobara::Ai" - ], - "reference": "Foobara::Ai::Gpt", - "scoped_category": "domain", - "scoped_full_name": "Foobara::Ai::Gpt", - "scoped_full_path": [ - "Foobara", - "Ai", - "Gpt" - ], - "scoped_name": "Gpt", - "scoped_path": [ - "Gpt" - ], - "scoped_prefix": null, - "scoped_short_name": "Gpt", - "types": [ - "Foobara::Ai::Gpt::Choice", - "Foobara::Ai::Gpt::Completion", - "Foobara::Ai::Gpt::Message", - "Foobara::Ai::Gpt::Usage" - ] }, - "FoobaraAi": { - "commands": [ - "FoobaraAi::Ask" + "NestedModelsNoCollisions::FindNestedNoCollisions": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" ], - "depends_on": [ - "Foobara::Ai::Gpt" + "inputs_type": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + }, + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" ], - "domain": "FoobaraAi", "organization": "global_organization", "parent": [ - "organization", - "global_organization" - ], - "reference": "FoobaraAi", - "scoped_category": "domain", - "scoped_full_name": "FoobaraAi", - "scoped_full_path": [ - "FoobaraAi" - ], - "scoped_name": "FoobaraAi", - "scoped_path": [ - "FoobaraAi" - ], - "scoped_prefix": null, - "scoped_short_name": "FoobaraAi", - "types": [ - ] - }, - "NestedModels": { - "commands": [ - "NestedModels::CreateNested", - "NestedModels::FindNested", - "NestedModels::FindNestedAggregate", - "NestedModels::FindNestedAtom", - "NestedModels::FindNestedButPutInAttributes", - "NestedModels::FindNestedButPutInAttributesAggregate", - "NestedModels::FindNestedButPutInAttributesAtom", - "NestedModels::FindOuterModelForOuterEntity", - "NestedModels::FindOuterModelForOuterEntityAggregate", - "NestedModels::FindOuterModelForOuterEntityAtom" + "domain", + "NestedModelsNoCollisions" ], - "domain": "NestedModels", - "organization": "global_organization", - "parent": [ - "organization", - "global_organization" + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.outer_entity_id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_entity_id.cannot_cast", + "path": [ + "outer_entity_id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } + }, + "reference": "NestedModelsNoCollisions::FindNestedNoCollisions", + "result_type": { + "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions" ], - "reference": "NestedModels", - "scoped_category": "domain", - "scoped_full_name": "NestedModels", + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindNestedNoCollisions", "scoped_full_path": [ - "NestedModels" + "NestedModelsNoCollisions", + "FindNestedNoCollisions" ], - "scoped_name": "NestedModels", + "scoped_name": "FindNestedNoCollisions", "scoped_path": [ - "NestedModels" + "FindNestedNoCollisions" ], "scoped_prefix": null, - "scoped_short_name": "NestedModels", - "types": [ - "NestedModels::InnerEntity", - "NestedModels::InnerModel", - "NestedModels::OuterEntity", - "NestedModels::OuterModel" + "scoped_short_name": "FindNestedNoCollisions", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "array", + "attributes", + "duck", + "integer", + "symbol" ] }, - "NestedModels2": { - "commands": [ - "NestedModels2::CreateNested", - "NestedModels2::FindNested", - "NestedModels2::FindNestedAggregate", - "NestedModels2::FindNestedAtom", - "NestedModels2::FindNestedButPutInAttributes", - "NestedModels2::FindNestedButPutInAttributesAggregate", - "NestedModels2::FindNestedButPutInAttributesAtom", - "NestedModels2::FindOuterModelForOuterEntity", - "NestedModels2::FindOuterModelForOuterEntityAggregate", - "NestedModels2::FindOuterModelForOuterEntityAtom" + "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + }, + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" ], - "domain": "NestedModels2", "organization": "global_organization", "parent": [ - "organization", - "global_organization" - ], - "reference": "NestedModels2", - "scoped_category": "domain", - "scoped_full_name": "NestedModels2", - "scoped_full_path": [ - "NestedModels2" - ], - "scoped_name": "NestedModels2", - "scoped_path": [ - "NestedModels2" + "domain", + "NestedModelsNoCollisions" ], - "scoped_prefix": null, - "scoped_short_name": "NestedModels2", - "types": [ - "NestedModels2::InnerEntity", - "NestedModels2::InnerModel", - "NestedModels2::OuterEntity", - "NestedModels2::OuterModel" - ] - }, - "NestedModelsNoCollisions": { - "commands": [ - "NestedModelsNoCollisions::CreateNestedNoCollisions", - "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions", - "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate", - "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom", - "NestedModelsNoCollisions::FindNestedNoCollisions", - "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate", - "NestedModelsNoCollisions::FindNestedNoCollisionsAtom", - "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions", - "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate", - "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom" + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.outer_entity_id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_entity_id.cannot_cast", + "path": [ + "outer_entity_id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } + }, + "pre_commit_transformers": [ + { + "domain": "Foobara::CommandConnectors", + "name": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "organization": "Foobara", + "parent": [ + "domain", + "Foobara::CommandConnectors" + ], + "processor_type": "transformer", + "reference": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "scoped_category": "processor_class", + "scoped_full_name": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "scoped_full_path": [ + "Foobara", + "CommandConnectors", + "Transformers", + "LoadAggregatesPreCommitTransformer" + ], + "scoped_name": "Transformers::LoadAggregatesPreCommitTransformer", + "scoped_path": [ + "Transformers", + "LoadAggregatesPreCommitTransformer" + ], + "scoped_prefix": [ + "Transformers" + ], + "scoped_short_name": "LoadAggregatesPreCommitTransformer" + } ], - "domain": "NestedModelsNoCollisions", - "organization": "global_organization", - "parent": [ - "organization", - "global_organization" + "reference": "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate", + "result_type": { + "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions" ], - "reference": "NestedModelsNoCollisions", - "scoped_category": "domain", - "scoped_full_name": "NestedModelsNoCollisions", + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate", "scoped_full_path": [ - "NestedModelsNoCollisions" + "NestedModelsNoCollisions", + "FindNestedNoCollisionsAggregate" ], - "scoped_name": "NestedModelsNoCollisions", + "scoped_name": "FindNestedNoCollisionsAggregate", "scoped_path": [ - "NestedModelsNoCollisions" + "FindNestedNoCollisionsAggregate" ], "scoped_prefix": null, - "scoped_short_name": "NestedModelsNoCollisions", - "types": [ - "NestedModelsNoCollisions::InnerEntityNoCollisions", - "NestedModelsNoCollisions::InnerModelNoCollisions", - "NestedModelsNoCollisions::ModelInAModelNoCollisions", + "scoped_short_name": "FindNestedNoCollisionsAggregate", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer", + "Foobara::CommandConnectors::Serializers::AggregateSerializer" + ], + "types_depended_on": [ "NestedModelsNoCollisions::OuterEntityNoCollisions", - "NestedModelsNoCollisions::OuterModelNoCollisions" + "array", + "attributes", + "duck", + "integer", + "symbol" ] }, - "SomeDomainWithoutOrg": { - "commands": [ - "SomeDomainWithoutOrg::CommandWithDomainButNoOrg" + "NestedModelsNoCollisions::FindNestedNoCollisionsAtom": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + }, + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" ], - "domain": "SomeDomainWithoutOrg", "organization": "global_organization", "parent": [ - "organization", - "global_organization" + "domain", + "NestedModelsNoCollisions" ], - "reference": "SomeDomainWithoutOrg", - "scoped_category": "domain", - "scoped_full_name": "SomeDomainWithoutOrg", + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.outer_entity_id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_entity_id.cannot_cast", + "path": [ + "outer_entity_id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } + }, + "reference": "NestedModelsNoCollisions::FindNestedNoCollisionsAtom", + "result_type": { + "type": "NestedModelsNoCollisions::OuterEntityNoCollisions" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions" + ], + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindNestedNoCollisionsAtom", "scoped_full_path": [ - "SomeDomainWithoutOrg" + "NestedModelsNoCollisions", + "FindNestedNoCollisionsAtom" ], - "scoped_name": "SomeDomainWithoutOrg", + "scoped_name": "FindNestedNoCollisionsAtom", "scoped_path": [ - "SomeDomainWithoutOrg" + "FindNestedNoCollisionsAtom" ], "scoped_prefix": null, - "scoped_short_name": "SomeDomainWithoutOrg", - "types": [ - ] - }, - "SomeOrg::Auth": { - "commands": [ - "SomeOrg::Auth::CreateReferral", - "SomeOrg::Auth::CreateUser" + "scoped_short_name": "FindNestedNoCollisionsAtom", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer", + "Foobara::CommandConnectors::Serializers::AtomicSerializer" ], - "domain": "SomeOrg::Auth", - "organization": "SomeOrg", - "parent": [ - "organization", - "SomeOrg" - ], - "reference": "SomeOrg::Auth", - "scoped_category": "domain", - "scoped_full_name": "SomeOrg::Auth", - "scoped_full_path": [ - "SomeOrg", - "Auth" - ], - "scoped_name": "Auth", - "scoped_path": [ - "Auth" - ], - "scoped_prefix": null, - "scoped_short_name": "Auth", - "types": [ - "SomeOrg::Auth::Referral", - "SomeOrg::Auth::User" - ] - }, - "SomeOrg::Math": { - "commands": [ - "SomeOrg::Math::CalculateExponent" - ], - "domain": "SomeOrg::Math", - "organization": "SomeOrg", - "parent": [ - "organization", - "SomeOrg" - ], - "reference": "SomeOrg::Math", - "scoped_category": "domain", - "scoped_full_name": "SomeOrg::Math", - "scoped_full_path": [ - "SomeOrg", - "Math" - ], - "scoped_name": "Math", - "scoped_path": [ - "Math" - ], - "scoped_prefix": null, - "scoped_short_name": "Math", - "types": [ - ] - }, - "SomeOtherOrg::Auth": { - "commands": [ - "SomeOtherOrg::Auth::CreateReferral", - "SomeOtherOrg::Auth::CreateUser" - ], - "domain": "SomeOtherOrg::Auth", - "organization": "SomeOtherOrg", - "parent": [ - "organization", - "SomeOtherOrg" - ], - "reference": "SomeOtherOrg::Auth", - "scoped_category": "domain", - "scoped_full_name": "SomeOtherOrg::Auth", - "scoped_full_path": [ - "SomeOtherOrg", - "Auth" - ], - "scoped_name": "Auth", - "scoped_path": [ - "Auth" - ], - "scoped_prefix": null, - "scoped_short_name": "Auth", - "types": [ - "SomeOtherOrg::Auth::Referral", - "SomeOtherOrg::Auth::User" - ] - }, - "SomeOtherOrg::Math": { - "commands": [ - "SomeOtherOrg::Math::CalculateExponent" - ], - "domain": "SomeOtherOrg::Math", - "organization": "SomeOtherOrg", - "parent": [ - "organization", - "SomeOtherOrg" - ], - "reference": "SomeOtherOrg::Math", - "scoped_category": "domain", - "scoped_full_name": "SomeOtherOrg::Math", - "scoped_full_path": [ - "SomeOtherOrg", - "Math" - ], - "scoped_name": "Math", - "scoped_path": [ - "Math" - ], - "scoped_prefix": null, - "scoped_short_name": "Math", - "types": [ - ] - }, - "SomeOtherOrg::SomeOtherAuth": { - "commands": [ - "SomeOtherOrg::SomeOtherAuth::CreateReferral", - "SomeOtherOrg::SomeOtherAuth::CreateUser" - ], - "domain": "SomeOtherOrg::SomeOtherAuth", - "organization": "SomeOtherOrg", - "parent": [ - "organization", - "SomeOtherOrg" - ], - "reference": "SomeOtherOrg::SomeOtherAuth", - "scoped_category": "domain", - "scoped_full_name": "SomeOtherOrg::SomeOtherAuth", - "scoped_full_path": [ - "SomeOtherOrg", - "SomeOtherAuth" - ], - "scoped_name": "SomeOtherAuth", - "scoped_path": [ - "SomeOtherAuth" - ], - "scoped_prefix": null, - "scoped_short_name": "SomeOtherAuth", - "types": [ - "SomeOtherOrg::SomeOtherAuth::Referral", - "SomeOtherOrg::SomeOtherAuth::User" - ] - }, - "global_organization::global_domain": { - "commands": [ - "GlobalCommand" - ], - "domain": "global_organization::global_domain", - "organization": "global_organization", - "parent": [ - "organization", - "global_organization" - ], - "reference": "global_organization::global_domain", - "scoped_category": "domain", - "scoped_full_name": "", - "scoped_full_path": [ - ], - "scoped_name": null, - "scoped_path": [ - ], - "scoped_prefix": [ - ], - "scoped_short_name": null, - "types": [ + "types_depended_on": [ + "NestedModelsNoCollisions::OuterEntityNoCollisions", "array", - "associative_array", - "atomic_duck", "attributes", - "datetime", "duck", - "duckture", - "email", - "entity", "integer", - "model", - "number", - "string", "symbol" ] - } - }, - "error": { - "Foobara::Value::Processor::Casting::CannotCastError": { - "category": "data", - "context_type_declaration": { + }, + "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ], + "inputs_type": { "element_type_declarations": { - "attribute_name": { - "type": "symbol" - }, - "cast_to": { - "type": "duck" - }, - "value": { - "type": "duck" + "outer_entity_id": { + "type": "integer" } }, "type": "attributes" }, - "domain": "Foobara::Value", - "is_fatal": true, - "organization": "Foobara", - "parent": [ - "processor_class", - "Foobara::Value::Processor::Casting" - ], - "reference": "Foobara::Value::Processor::Casting::CannotCastError", - "scoped_category": "error", - "scoped_full_name": "Foobara::Value::Processor::Casting::CannotCastError", - "scoped_full_path": [ - "Foobara", - "Value", - "Processor", - "Casting", - "CannotCastError" - ], - "scoped_name": "CannotCastError", - "scoped_path": [ - "CannotCastError" - ], - "scoped_prefix": null, - "scoped_short_name": "CannotCastError", - "symbol": "cannot_cast", - "types_depended_on": [ + "inputs_types_depended_on": [ "array", "attributes", "duck", + "integer", "symbol" - ] - }, - "GlobalError": { - "category": "runtime", - "context_type_declaration": { - "element_type_declarations": { - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": true, + ], "organization": "global_organization", "parent": [ "domain", - "global_organization::global_domain" - ], - "reference": "GlobalError", - "scoped_category": "error", - "scoped_full_name": "GlobalError", - "scoped_full_path": [ - "GlobalError" - ], - "scoped_name": "GlobalError", - "scoped_path": [ - "GlobalError" + "NestedModelsNoCollisions" ], - "scoped_prefix": null, - "scoped_short_name": "GlobalError", - "symbol": "global", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "SomeOrg::Auth::CreateReferral::BadReferralError": { - "category": "runtime", - "context_type_declaration": { - "element_type_declarations": { - "channel": { - "type": "string" + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + } + } }, - "referred_user": { - "type": "SomeOrg::Auth::User" + "symbol": "cannot_cast" + }, + "data.outer_entity_id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_entity_id.cannot_cast", + "path": [ + "outer_entity_id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } }, - "referring_user": { - "type": "SomeOrg::Auth::User" - } + "symbol": "cannot_cast" }, - "type": "attributes" + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } }, - "domain": "SomeOrg::Auth", - "is_fatal": true, - "organization": "SomeOrg", - "parent": [ - "command", - "SomeOrg::Auth::CreateReferral" + "reference": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions", + "result_type": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterModelNoCollisions" ], - "reference": "SomeOrg::Auth::CreateReferral::BadReferralError", - "scoped_category": "error", - "scoped_full_name": "SomeOrg::Auth::CreateReferral::BadReferralError", + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions", "scoped_full_path": [ - "SomeOrg", - "Auth", - "CreateReferral", - "BadReferralError" + "NestedModelsNoCollisions", + "FindOuterModelForOuterEntityNoCollisions" ], - "scoped_name": "BadReferralError", + "scoped_name": "FindOuterModelForOuterEntityNoCollisions", "scoped_path": [ - "BadReferralError" + "FindOuterModelForOuterEntityNoCollisions" ], "scoped_prefix": null, - "scoped_short_name": "BadReferralError", - "symbol": "bad_referral", + "scoped_short_name": "FindOuterModelForOuterEntityNoCollisions", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], "types_depended_on": [ - "SomeOrg::Auth::User", + "NestedModelsNoCollisions::OuterModelNoCollisions", "array", "attributes", "duck", - "string", + "integer", "symbol" ] }, - "SomeOrg::Math::CalculateExponent::NegativeExponentError": { - "category": "runtime", - "context_type_declaration": { + "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ], + "inputs_type": { "element_type_declarations": { - "exponent": { + "outer_entity_id": { "type": "integer" } }, "type": "attributes" }, - "domain": "SomeOrg::Math", - "is_fatal": true, - "organization": "SomeOrg", + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ], + "organization": "global_organization", "parent": [ - "command", - "SomeOrg::Math::CalculateExponent" + "domain", + "NestedModelsNoCollisions" ], - "reference": "SomeOrg::Math::CalculateExponent::NegativeExponentError", - "scoped_category": "error", - "scoped_full_name": "SomeOrg::Math::CalculateExponent::NegativeExponentError", + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.outer_entity_id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_entity_id.cannot_cast", + "path": [ + "outer_entity_id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } + }, + "pre_commit_transformers": [ + { + "domain": "Foobara::CommandConnectors", + "name": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "organization": "Foobara", + "parent": [ + "domain", + "Foobara::CommandConnectors" + ], + "processor_type": "transformer", + "reference": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "scoped_category": "processor_class", + "scoped_full_name": "Foobara::CommandConnectors::Transformers::LoadAggregatesPreCommitTransformer", + "scoped_full_path": [ + "Foobara", + "CommandConnectors", + "Transformers", + "LoadAggregatesPreCommitTransformer" + ], + "scoped_name": "Transformers::LoadAggregatesPreCommitTransformer", + "scoped_path": [ + "Transformers", + "LoadAggregatesPreCommitTransformer" + ], + "scoped_prefix": [ + "Transformers" + ], + "scoped_short_name": "LoadAggregatesPreCommitTransformer" + } + ], + "reference": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate", + "result_type": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterModelNoCollisions" + ], + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate", "scoped_full_path": [ - "SomeOrg", - "Math", - "CalculateExponent", - "NegativeExponentError" + "NestedModelsNoCollisions", + "FindOuterModelForOuterEntityNoCollisionsAggregate" ], - "scoped_name": "NegativeExponentError", + "scoped_name": "FindOuterModelForOuterEntityNoCollisionsAggregate", "scoped_path": [ - "NegativeExponentError" + "FindOuterModelForOuterEntityNoCollisionsAggregate" ], "scoped_prefix": null, - "scoped_short_name": "NegativeExponentError", - "symbol": "negative_exponent", + "scoped_short_name": "FindOuterModelForOuterEntityNoCollisionsAggregate", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer", + "Foobara::CommandConnectors::Serializers::AggregateSerializer" + ], "types_depended_on": [ + "NestedModelsNoCollisions::OuterModelNoCollisions", "array", "attributes", "duck", @@ -13670,88 +13213,112 @@ "symbol" ] }, - "SomeOtherOrg::Auth::CreateReferral::BadReferralError": { - "category": "runtime", - "context_type_declaration": { + "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom": { + "description": null, + "domain": "NestedModelsNoCollisions", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ], + "inputs_type": { "element_type_declarations": { - "channel": { - "type": "string" - }, - "referred_user": { - "type": "SomeOtherOrg::Auth::User" - }, - "referring_user": { - "type": "SomeOtherOrg::Auth::User" + "outer_entity_id": { + "type": "integer" } }, "type": "attributes" }, - "domain": "SomeOtherOrg::Auth", - "is_fatal": true, - "organization": "SomeOtherOrg", - "parent": [ - "command", - "SomeOtherOrg::Auth::CreateReferral" - ], - "reference": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", - "scoped_category": "error", - "scoped_full_name": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", - "scoped_full_path": [ - "SomeOtherOrg", - "Auth", - "CreateReferral", - "BadReferralError" - ], - "scoped_name": "BadReferralError", - "scoped_path": [ - "BadReferralError" - ], - "scoped_prefix": null, - "scoped_short_name": "BadReferralError", - "symbol": "bad_referral", - "types_depended_on": [ - "SomeOtherOrg::Auth::User", + "inputs_types_depended_on": [ "array", "attributes", "duck", - "string", + "integer", "symbol" - ] - }, - "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError": { - "category": "runtime", - "context_type_declaration": { - "element_type_declarations": { - "exponent": { - "type": "integer" - } + ], + "organization": "global_organization", + "parent": [ + "domain", + "NestedModelsNoCollisions" + ], + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" }, - "type": "attributes" + "data.outer_entity_id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.outer_entity_id.cannot_cast", + "path": [ + "outer_entity_id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "outer_entity_id": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } }, - "domain": "SomeOtherOrg::Math", - "is_fatal": true, - "organization": "SomeOtherOrg", - "parent": [ - "command", - "SomeOtherOrg::Math::CalculateExponent" + "reference": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom", + "result_type": { + "type": "NestedModelsNoCollisions::OuterModelNoCollisions" + }, + "result_types_depended_on": [ + "NestedModelsNoCollisions::OuterModelNoCollisions" ], - "reference": "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError", - "scoped_category": "error", - "scoped_full_name": "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError", + "scoped_category": "command", + "scoped_full_name": "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom", "scoped_full_path": [ - "SomeOtherOrg", - "Math", - "CalculateExponent", - "NegativeExponentError" + "NestedModelsNoCollisions", + "FindOuterModelForOuterEntityNoCollisionsAtom" ], - "scoped_name": "NegativeExponentError", + "scoped_name": "FindOuterModelForOuterEntityNoCollisionsAtom", "scoped_path": [ - "NegativeExponentError" + "FindOuterModelForOuterEntityNoCollisionsAtom" ], "scoped_prefix": null, - "scoped_short_name": "NegativeExponentError", - "symbol": "negative_exponent", + "scoped_short_name": "FindOuterModelForOuterEntityNoCollisionsAtom", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer", + "Foobara::CommandConnectors::Serializers::AtomicSerializer" + ], "types_depended_on": [ + "NestedModelsNoCollisions::OuterModelNoCollisions", "array", "attributes", "duck", @@ -13759,798 +13326,4599 @@ "symbol" ] }, - "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError": { - "category": "runtime", - "context_type_declaration": { - "element_type_declarations": { - "channel": { - "type": "string" - }, - "referred_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" - }, - "referring_user": { - "type": "SomeOtherOrg::SomeOtherAuth::User" - } - }, - "type": "attributes" - }, - "domain": "SomeOtherOrg::SomeOtherAuth", - "is_fatal": true, - "organization": "SomeOtherOrg", - "parent": [ - "command", - "SomeOtherOrg::SomeOtherAuth::CreateReferral" - ], - "reference": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", - "scoped_category": "error", - "scoped_full_name": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", - "scoped_full_path": [ - "SomeOtherOrg", - "SomeOtherAuth", - "CreateReferral", - "BadReferralError" - ], - "scoped_name": "BadReferralError", - "scoped_path": [ - "BadReferralError" - ], - "scoped_prefix": null, - "scoped_short_name": "BadReferralError", - "symbol": "bad_referral", - "types_depended_on": [ - "SomeOtherOrg::SomeOtherAuth::User", + "SomeDomainWithoutOrg::CommandWithDomainButNoOrg": { + "description": null, + "domain": "SomeDomainWithoutOrg", + "errors_types_depended_on": [ "array", "attributes", "duck", - "string", "symbol" - ] - }, - "array::SupportedValidators::Size::IncorrectTupleSizeError": { - "category": "data", - "context_type_declaration": { + ], + "inputs_type": { "element_type_declarations": { - "actual_size": { - "type": "integer" - }, - "expected_size": { + "some_integer": { "type": "integer" - }, - "value": { - "type": "array" } }, + "required": [ + "some_integer" + ], "type": "attributes" }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "array::SupportedValidators::Size" - ], - "reference": "array::SupportedValidators::Size::IncorrectTupleSizeError", - "scoped_category": "error", - "scoped_full_name": "array::SupportedValidators::Size::IncorrectTupleSizeError", - "scoped_full_path": [ - "array", - "SupportedValidators", - "Size", - "IncorrectTupleSizeError" - ], - "scoped_name": "IncorrectTupleSizeError", - "scoped_path": [ - "IncorrectTupleSizeError" - ], - "scoped_prefix": null, - "scoped_short_name": "IncorrectTupleSizeError", - "symbol": "incorrect_tuple_size", - "types_depended_on": [ + "inputs_types_depended_on": [ "array", "attributes", "duck", "integer", "symbol" - ] - }, - "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "allowed_attributes": { - "element_type_declaration": { - "type": "symbol" - }, - "type": "array" - }, - "unexpected_attributes": { - "element_type_declaration": { - "type": "symbol" - }, - "type": "array" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": true, + ], "organization": "global_organization", "parent": [ - "processor_class", - "attributes::SupportedProcessors::ElementTypeDeclarations" + "domain", + "SomeDomainWithoutOrg" ], - "reference": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "scoped_category": "error", - "scoped_full_name": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "scoped_full_path": [ - "attributes", - "SupportedProcessors", - "ElementTypeDeclarations", - "UnexpectedAttributesError" - ], - "scoped_name": "UnexpectedAttributesError", - "scoped_path": [ - "UnexpectedAttributesError" - ], - "scoped_prefix": null, - "scoped_short_name": "UnexpectedAttributesError", - "symbol": "unexpected_attributes", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "attributes::SupportedValidators::Required::MissingRequiredAttributeError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "attribute_name": { - "type": "symbol" - } + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "some_integer": { + "type": "integer" + } + }, + "required": [ + "some_integer" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" }, - "type": "attributes" + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.some_integer.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.some_integer.cannot_cast", + "path": [ + "some_integer" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.some_integer.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.some_integer.missing_required_attribute", + "path": [ + "some_integer" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "some_integer" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "some_integer": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } }, - "domain": "global_organization::global_domain", - "is_fatal": true, - "organization": "global_organization", - "parent": [ - "processor_class", - "attributes::SupportedValidators::Required" + "reference": "SomeDomainWithoutOrg::CommandWithDomainButNoOrg", + "result_type": { + "type": "integer" + }, + "result_types_depended_on": [ + "integer" ], - "reference": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", - "scoped_category": "error", - "scoped_full_name": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "scoped_category": "command", + "scoped_full_name": "SomeDomainWithoutOrg::CommandWithDomainButNoOrg", "scoped_full_path": [ - "attributes", - "SupportedValidators", - "Required", - "MissingRequiredAttributeError" + "SomeDomainWithoutOrg", + "CommandWithDomainButNoOrg" ], - "scoped_name": "MissingRequiredAttributeError", + "scoped_name": "CommandWithDomainButNoOrg", "scoped_path": [ - "MissingRequiredAttributeError" + "CommandWithDomainButNoOrg" ], "scoped_prefix": null, - "scoped_short_name": "MissingRequiredAttributeError", - "symbol": "missing_required_attribute", + "scoped_short_name": "CommandWithDomainButNoOrg", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], "types_depended_on": [ "array", "attributes", "duck", + "integer", "symbol" ] }, - "duck::SupportedValidators::OneOf::ValueNotValidError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "valid_values": { - "element_type_declaration": { - "type": "duck" - }, - "type": "array" - }, - "value": { - "type": "duck" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "duck::SupportedValidators::OneOf" - ], - "reference": "duck::SupportedValidators::OneOf::ValueNotValidError", - "scoped_category": "error", - "scoped_full_name": "duck::SupportedValidators::OneOf::ValueNotValidError", - "scoped_full_path": [ - "duck", - "SupportedValidators", - "OneOf", - "ValueNotValidError" - ], - "scoped_name": "ValueNotValidError", - "scoped_path": [ - "ValueNotValidError" - ], - "scoped_prefix": null, - "scoped_short_name": "ValueNotValidError", - "symbol": "value_not_valid", - "types_depended_on": [ + "SomeOrg::Auth::CreateReferral": { + "description": null, + "domain": "SomeOrg::Auth", + "errors_types_depended_on": [ + "SomeOrg::Auth::User", "array", "attributes", "duck", + "string", "symbol" - ] - }, - "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError": { - "category": "data", - "context_type_declaration": { + ], + "inputs_type": { "element_type_declarations": { - "negate_regex": { - "type": "duck" + "channel": { + "type": "string" }, - "regex": { - "type": "duck" + "id": { + "type": "integer" }, - "value": { - "type": "duck" + "referred_user": { + "type": "SomeOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOrg::Auth::User" } }, + "required": [ + "channel", + "referring_user", + "referred_user" + ], "type": "attributes" }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::CannotExceed64Characters" - ], - "reference": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", - "scoped_full_path": [ - "email", - "Validators", - "CannotExceed64Characters", - "CannotExceed64CharactersError" - ], - "scoped_name": "CannotExceed64CharactersError", - "scoped_path": [ - "CannotExceed64CharactersError" - ], - "scoped_prefix": null, - "scoped_short_name": "CannotExceed64CharactersError", - "symbol": "cannot_exceed64_characters", - "types_depended_on": [ + "inputs_types_depended_on": [ + "SomeOrg::Auth::User", "array", "attributes", "duck", + "integer", + "string", "symbol" - ] - }, - "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "negate_regex": { - "type": "duck" - }, - "regex": { - "type": "duck" - }, - "value": { - "type": "duck" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::CannotHaveMultipleAtSigns" - ], - "reference": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", - "scoped_full_path": [ - "email", - "Validators", - "CannotHaveMultipleAtSigns", - "CannotHaveMultipleAtSignsError" - ], - "scoped_name": "CannotHaveMultipleAtSignsError", - "scoped_path": [ - "CannotHaveMultipleAtSignsError" ], - "scoped_prefix": null, - "scoped_short_name": "CannotHaveMultipleAtSignsError", - "symbol": "cannot_have_multiple_at_signs", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "negate_regex": { - "type": "duck" - }, - "regex": { - "type": "duck" - }, - "value": { - "type": "duck" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", + "organization": "SomeOrg", "parent": [ - "processor_class", - "email::Validators::DomainCannotStartWithOrEndWithAHyphen" - ], - "reference": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", - "scoped_full_path": [ - "email", - "Validators", - "DomainCannotStartWithOrEndWithAHyphen", - "DomainCannotStartWithOrEndWithAHyphenError" - ], - "scoped_name": "DomainCannotStartWithOrEndWithAHyphenError", - "scoped_path": [ - "DomainCannotStartWithOrEndWithAHyphenError" + "domain", + "SomeOrg::Auth" ], - "scoped_prefix": null, - "scoped_short_name": "DomainCannotStartWithOrEndWithAHyphenError", - "symbol": "domain_cannot_start_with_or_end_with_a_hyphen", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "negate_regex": { - "type": "duck" - }, - "regex": { - "type": "duck" + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOrg::Auth::User" + } + }, + "required": [ + "channel", + "referring_user", + "referred_user" + ], + "type": "attributes" + } + } }, - "value": { - "type": "duck" - } + "symbol": "cannot_cast" }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::FirstPartCannotBeEmpty" - ], - "reference": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", - "scoped_full_path": [ - "email", - "Validators", - "FirstPartCannotBeEmpty", - "FirstPartCannotBeEmptyError" - ], - "scoped_name": "FirstPartCannotBeEmptyError", - "scoped_path": [ - "FirstPartCannotBeEmptyError" - ], - "scoped_prefix": null, - "scoped_short_name": "FirstPartCannotBeEmptyError", - "symbol": "first_part_cannot_be_empty", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "negate_regex": { - "type": "duck" - }, - "regex": { - "type": "duck" + "data.channel.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.channel.cannot_cast", + "path": [ + "channel" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } }, - "value": { - "type": "duck" - } + "symbol": "cannot_cast" }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow" - ], - "reference": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", - "scoped_full_path": [ - "email", - "Validators", - "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow", - "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError" - ], - "scoped_name": "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", - "scoped_path": [ - "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError" - ], - "scoped_prefix": null, - "scoped_short_name": "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", - "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "negate_regex": { - "type": "duck" + "data.channel.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.channel.missing_required_attribute", + "path": [ + "channel" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] }, - "regex": { - "type": "duck" + "symbol": "missing_required_attribute" + }, + "data.id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.id.cannot_cast", + "path": [ + "id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } }, - "value": { - "type": "duck" - } + "symbol": "cannot_cast" }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::FirstPartHasBadCharacters" - ], - "reference": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", - "scoped_full_path": [ - "email", - "Validators", - "FirstPartHasBadCharacters", - "FirstPartHasBadCharactersError" - ], - "scoped_name": "FirstPartHasBadCharactersError", - "scoped_path": [ - "FirstPartHasBadCharactersError" - ], - "scoped_prefix": null, - "scoped_short_name": "FirstPartHasBadCharactersError", - "symbol": "first_part_has_bad_characters", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "negate_regex": { - "type": "duck" + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null }, - "regex": { - "type": "duck" + "symbol": "missing_required_attribute" + }, + "data.referred_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referred_user.cannot_cast", + "path": [ + "referred_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "allow_nil": true, + "type": "string" + }, + "preferred_contact_method": { + "one_of": [ + "email", + "phonecall", + "sms" + ], + "type": "symbol" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOrg::Auth::User", + "model_module": "SomeOrg::Auth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } }, - "value": { - "type": "duck" - } + "symbol": "cannot_cast" }, - "type": "attributes" + "data.referred_user.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.referred_user.missing_required_attribute", + "path": [ + "referred_user" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.referring_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referring_user.cannot_cast", + "path": [ + "referring_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "allow_nil": true, + "type": "string" + }, + "preferred_contact_method": { + "one_of": [ + "email", + "phonecall", + "sms" + ], + "type": "symbol" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOrg::Auth::User", + "model_module": "SomeOrg::Auth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referring_user.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.referring_user.missing_required_attribute", + "path": [ + "referring_user" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOrg::Auth::User" + } + } + }, + "symbol": "unexpected_attributes" + }, + "runtime.bad_referral": { + "category": "runtime", + "error": "SomeOrg::Auth::CreateReferral::BadReferralError", + "key": "runtime.bad_referral", + "symbol": "bad_referral" + } }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::MustHaveAnAtSign" + "reference": "SomeOrg::Auth::CreateReferral", + "result_type": { + "type": "SomeOrg::Auth::Referral" + }, + "result_types_depended_on": [ + "SomeOrg::Auth::Referral" ], - "reference": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", + "scoped_category": "command", + "scoped_full_name": "SomeOrg::Auth::CreateReferral", "scoped_full_path": [ - "email", - "Validators", - "MustHaveAnAtSign", - "MustHaveAnAtSignError" + "SomeOrg", + "Auth", + "CreateReferral" ], - "scoped_name": "MustHaveAnAtSignError", + "scoped_name": "CreateReferral", "scoped_path": [ - "MustHaveAnAtSignError" + "CreateReferral" ], "scoped_prefix": null, - "scoped_short_name": "MustHaveAnAtSignError", - "symbol": "must_have_an_at_sign", + "scoped_short_name": "CreateReferral", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], "types_depended_on": [ + "SomeOrg::Auth::Referral", + "SomeOrg::Auth::User", "array", "attributes", "duck", + "integer", + "string", "symbol" ] }, - "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "negate_regex": { - "type": "duck" - }, - "regex": { - "type": "duck" - }, - "value": { - "type": "duck" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::SecondPartCannotBeEmpty" - ], - "reference": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", - "scoped_full_path": [ - "email", - "Validators", - "SecondPartCannotBeEmpty", - "SecondPartCannotBeEmptyError" - ], - "scoped_name": "SecondPartCannotBeEmptyError", - "scoped_path": [ - "SecondPartCannotBeEmptyError" + "SomeOrg::Auth::CreateUser": { + "depends_on": [ + "SomeOrg::Auth::CreateReferral" ], - "scoped_prefix": null, - "scoped_short_name": "SecondPartCannotBeEmptyError", - "symbol": "second_part_cannot_be_empty", - "types_depended_on": [ + "description": null, + "domain": "SomeOrg::Auth", + "errors_types_depended_on": [ + "SomeOrg::Auth::User", "array", "attributes", "duck", + "string", "symbol" - ] - }, - "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError": { - "category": "data", - "context_type_declaration": { + ], + "inputs_type": { "element_type_declarations": { - "negate_regex": { - "type": "duck" + "email": { + "type": "email" }, - "regex": { - "type": "duck" + "first_name": { + "type": "string" }, - "value": { - "type": "duck" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "email::Validators::SecondPartHasBadCharacters" - ], - "reference": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", - "scoped_category": "error", - "scoped_full_name": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", - "scoped_full_path": [ - "email", - "Validators", - "SecondPartHasBadCharacters", - "SecondPartHasBadCharactersError" - ], - "scoped_name": "SecondPartHasBadCharactersError", - "scoped_path": [ - "SecondPartHasBadCharactersError" - ], - "scoped_prefix": null, - "scoped_short_name": "SecondPartHasBadCharactersError", - "symbol": "second_part_has_bad_characters", - "types_depended_on": [ - "array", - "attributes", - "duck", - "symbol" - ] - }, - "number::SupportedValidators::Max::MaxExceededError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "max": { - "type": "number" + "id": { + "type": "integer" }, - "value": { - "type": "number" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "number::SupportedValidators::Max" - ], - "reference": "number::SupportedValidators::Max::MaxExceededError", - "scoped_category": "error", - "scoped_full_name": "number::SupportedValidators::Max::MaxExceededError", - "scoped_full_path": [ - "number", - "SupportedValidators", - "Max", - "MaxExceededError" - ], - "scoped_name": "MaxExceededError", - "scoped_path": [ - "MaxExceededError" - ], - "scoped_prefix": null, - "scoped_short_name": "MaxExceededError", - "symbol": "max_exceeded", - "types_depended_on": [ - "array", - "attributes", - "duck", - "number", - "symbol" - ] - }, - "number::SupportedValidators::Min::BelowMinimumError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "min": { - "type": "number" + "last_name": { + "allow_nil": true, + "type": "string" }, - "value": { - "type": "number" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "number::SupportedValidators::Min" - ], - "reference": "number::SupportedValidators::Min::BelowMinimumError", - "scoped_category": "error", - "scoped_full_name": "number::SupportedValidators::Min::BelowMinimumError", - "scoped_full_path": [ - "number", - "SupportedValidators", - "Min", - "BelowMinimumError" - ], - "scoped_name": "BelowMinimumError", - "scoped_path": [ - "BelowMinimumError" - ], - "scoped_prefix": null, - "scoped_short_name": "BelowMinimumError", - "symbol": "below_minimum", - "types_depended_on": [ - "array", - "attributes", - "duck", - "number", - "symbol" - ] - }, - "string::SupportedValidators::Matches::DoesNotMatchError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "regex": { - "type": "duck" + "preferred_contact_method": { + "one_of": [ + "email", + "phonecall", + "sms" + ], + "type": "symbol" }, - "value": { + "referral_channel": { "type": "string" + }, + "referring_user": { + "type": "SomeOrg::Auth::User" } }, + "required": [ + "first_name", + "last_name", + "email" + ], "type": "attributes" }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", - "parent": [ - "processor_class", - "string::SupportedValidators::Matches" - ], - "reference": "string::SupportedValidators::Matches::DoesNotMatchError", - "scoped_category": "error", - "scoped_full_name": "string::SupportedValidators::Matches::DoesNotMatchError", - "scoped_full_path": [ - "string", - "SupportedValidators", - "Matches", - "DoesNotMatchError" - ], - "scoped_name": "DoesNotMatchError", - "scoped_path": [ - "DoesNotMatchError" - ], - "scoped_prefix": null, - "scoped_short_name": "DoesNotMatchError", - "symbol": "does_not_match", - "types_depended_on": [ + "inputs_types_depended_on": [ + "SomeOrg::Auth::User", "array", "attributes", "duck", + "email", + "integer", "string", "symbol" - ] - }, - "string::SupportedValidators::MaxLength::MaxLengthExceededError": { - "category": "data", - "context_type_declaration": { - "element_type_declarations": { - "max_length": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "type": "attributes" - }, - "domain": "global_organization::global_domain", - "is_fatal": false, - "organization": "global_organization", + ], + "organization": "SomeOrg", + "parent": [ + "domain", + "SomeOrg::Auth" + ], + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "allow_nil": true, + "type": "string" + }, + "preferred_contact_method": { + "one_of": [ + "email", + "phonecall", + "sms" + ], + "type": "symbol" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOrg::Auth::User" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.email.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.email.cannot_cast", + "path": [ + "email" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "email" + } + } + }, + "symbol": "cannot_cast" + }, + "data.email.cannot_exceed64_characters": { + "category": "data", + "error": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", + "key": "data.email.cannot_exceed64_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "cannot_exceed64_characters": true + }, + "symbol": "cannot_exceed64_characters" + }, + "data.email.cannot_have_multiple_at_signs": { + "category": "data", + "error": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", + "key": "data.email.cannot_have_multiple_at_signs", + "path": [ + "email" + ], + "processor_manifest_data": { + "cannot_have_multiple_at_signs": true + }, + "symbol": "cannot_have_multiple_at_signs" + }, + "data.email.domain_cannot_start_with_or_end_with_a_hyphen": { + "category": "data", + "error": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", + "key": "data.email.domain_cannot_start_with_or_end_with_a_hyphen", + "path": [ + "email" + ], + "processor_manifest_data": { + "domain_cannot_start_with_or_end_with_a_hyphen": true + }, + "symbol": "domain_cannot_start_with_or_end_with_a_hyphen" + }, + "data.email.first_part_cannot_be_empty": { + "category": "data", + "error": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", + "key": "data.email.first_part_cannot_be_empty", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_cannot_be_empty": true + }, + "symbol": "first_part_cannot_be_empty" + }, + "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": { + "category": "data", + "error": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", + "key": "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": true + }, + "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row" + }, + "data.email.first_part_has_bad_characters": { + "category": "data", + "error": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", + "key": "data.email.first_part_has_bad_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_has_bad_characters": true + }, + "symbol": "first_part_has_bad_characters" + }, + "data.email.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.email.missing_required_attribute", + "path": [ + "email" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.email.must_have_an_at_sign": { + "category": "data", + "error": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", + "key": "data.email.must_have_an_at_sign", + "path": [ + "email" + ], + "processor_manifest_data": { + "must_have_an_at_sign": true + }, + "symbol": "must_have_an_at_sign" + }, + "data.email.second_part_cannot_be_empty": { + "category": "data", + "error": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", + "key": "data.email.second_part_cannot_be_empty", + "path": [ + "email" + ], + "processor_manifest_data": { + "second_part_cannot_be_empty": true + }, + "symbol": "second_part_cannot_be_empty" + }, + "data.email.second_part_has_bad_characters": { + "category": "data", + "error": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", + "key": "data.email.second_part_has_bad_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "second_part_has_bad_characters": true + }, + "symbol": "second_part_has_bad_characters" + }, + "data.first_name.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.first_name.cannot_cast", + "path": [ + "first_name" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.first_name.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.first_name.missing_required_attribute", + "path": [ + "first_name" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.id.cannot_cast", + "path": [ + "id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.last_name.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.last_name.cannot_cast", + "path": [ + "last_name" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "allow_nil": true, + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.last_name.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.last_name.missing_required_attribute", + "path": [ + "last_name" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.preferred_contact_method.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.preferred_contact_method.cannot_cast", + "path": [ + "preferred_contact_method" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "one_of": [ + "email", + "phonecall", + "sms" + ], + "type": "symbol" + } + } + }, + "symbol": "cannot_cast" + }, + "data.preferred_contact_method.value_not_valid": { + "category": "data", + "error": "duck::SupportedValidators::OneOf::ValueNotValidError", + "key": "data.preferred_contact_method.value_not_valid", + "path": [ + "preferred_contact_method" + ], + "processor_manifest_data": { + "one_of": [ + "email", + "phonecall", + "sms" + ] + }, + "symbol": "value_not_valid" + }, + "data.referral_channel.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referral_channel.cannot_cast", + "path": [ + "referral_channel" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referring_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referring_user.cannot_cast", + "path": [ + "referring_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "allow_nil": true, + "type": "string" + }, + "preferred_contact_method": { + "one_of": [ + "email", + "phonecall", + "sms" + ], + "type": "symbol" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOrg::Auth::User", + "model_module": "SomeOrg::Auth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "allow_nil": true, + "type": "string" + }, + "preferred_contact_method": { + "one_of": [ + "email", + "phonecall", + "sms" + ], + "type": "symbol" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOrg::Auth::User" + } + } + }, + "symbol": "unexpected_attributes" + }, + "some_org::auth::create_referral>runtime.bad_referral": { + "category": "runtime", + "error": "SomeOrg::Auth::CreateReferral::BadReferralError", + "key": "some_org::auth::create_referral>runtime.bad_referral", + "runtime_path": [ + "some_org::auth::create_referral" + ], + "symbol": "bad_referral" + } + }, + "reference": "SomeOrg::Auth::CreateUser", + "result_type": { + "type": "SomeOrg::Auth::User" + }, + "result_types_depended_on": [ + "SomeOrg::Auth::User" + ], + "scoped_category": "command", + "scoped_full_name": "SomeOrg::Auth::CreateUser", + "scoped_full_path": [ + "SomeOrg", + "Auth", + "CreateUser" + ], + "scoped_name": "CreateUser", + "scoped_path": [ + "CreateUser" + ], + "scoped_prefix": null, + "scoped_short_name": "CreateUser", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "SomeOrg::Auth::User", + "array", + "attributes", + "duck", + "email", + "integer", + "string", + "symbol" + ] + }, + "SomeOrg::Math::CalculateExponent": { + "description": null, + "domain": "SomeOrg::Math", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "base": { + "type": "integer" + }, + "exponent": { + "type": "integer" + } + }, + "required": [ + "base", + "exponent" + ], + "type": "attributes" + }, + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ], + "organization": "SomeOrg", + "parent": [ + "domain", + "SomeOrg::Math" + ], + "possible_errors": { + "data.base.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.base.cannot_cast", + "path": [ + "base" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.base.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.base.missing_required_attribute", + "path": [ + "base" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "base", + "exponent" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "base": { + "type": "integer" + }, + "exponent": { + "type": "integer" + } + }, + "required": [ + "base", + "exponent" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.exponent.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.exponent.cannot_cast", + "path": [ + "exponent" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.exponent.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.exponent.missing_required_attribute", + "path": [ + "exponent" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "base", + "exponent" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "base": { + "type": "integer" + }, + "exponent": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + }, + "runtime.negative_exponent": { + "category": "runtime", + "error": "SomeOrg::Math::CalculateExponent::NegativeExponentError", + "key": "runtime.negative_exponent", + "symbol": "negative_exponent" + } + }, + "reference": "SomeOrg::Math::CalculateExponent", + "result_type": { + "type": "integer" + }, + "result_types_depended_on": [ + "integer" + ], + "scoped_category": "command", + "scoped_full_name": "SomeOrg::Math::CalculateExponent", + "scoped_full_path": [ + "SomeOrg", + "Math", + "CalculateExponent" + ], + "scoped_name": "CalculateExponent", + "scoped_path": [ + "CalculateExponent" + ], + "scoped_prefix": null, + "scoped_short_name": "CalculateExponent", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ] + }, + "SomeOtherOrg::Auth::CreateReferral": { + "description": null, + "domain": "SomeOtherOrg::Auth", + "errors_types_depended_on": [ + "SomeOtherOrg::Auth::User", + "array", + "attributes", + "duck", + "string", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOtherOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::Auth::User" + } + }, + "required": [ + "channel", + "referring_user", + "referred_user" + ], + "type": "attributes" + }, + "inputs_types_depended_on": [ + "SomeOtherOrg::Auth::User", + "array", + "attributes", + "duck", + "integer", + "string", + "symbol" + ], + "organization": "SomeOtherOrg", + "parent": [ + "domain", + "SomeOtherOrg::Auth" + ], + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOtherOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::Auth::User" + } + }, + "required": [ + "channel", + "referring_user", + "referred_user" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.channel.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.channel.cannot_cast", + "path": [ + "channel" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.channel.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.channel.missing_required_attribute", + "path": [ + "channel" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.id.cannot_cast", + "path": [ + "id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.referred_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referred_user.cannot_cast", + "path": [ + "referred_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOtherOrg::Auth::User", + "model_module": "SomeOtherOrg::Auth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referred_user.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.referred_user.missing_required_attribute", + "path": [ + "referred_user" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.referring_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referring_user.cannot_cast", + "path": [ + "referring_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOtherOrg::Auth::User", + "model_module": "SomeOtherOrg::Auth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referring_user.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.referring_user.missing_required_attribute", + "path": [ + "referring_user" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOtherOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::Auth::User" + } + } + }, + "symbol": "unexpected_attributes" + }, + "runtime.bad_referral": { + "category": "runtime", + "error": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", + "key": "runtime.bad_referral", + "symbol": "bad_referral" + } + }, + "reference": "SomeOtherOrg::Auth::CreateReferral", + "result_type": { + "type": "SomeOtherOrg::Auth::Referral" + }, + "result_types_depended_on": [ + "SomeOtherOrg::Auth::Referral" + ], + "scoped_category": "command", + "scoped_full_name": "SomeOtherOrg::Auth::CreateReferral", + "scoped_full_path": [ + "SomeOtherOrg", + "Auth", + "CreateReferral" + ], + "scoped_name": "CreateReferral", + "scoped_path": [ + "CreateReferral" + ], + "scoped_prefix": null, + "scoped_short_name": "CreateReferral", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "SomeOtherOrg::Auth::Referral", + "SomeOtherOrg::Auth::User", + "array", + "attributes", + "duck", + "integer", + "string", + "symbol" + ] + }, + "SomeOtherOrg::Auth::CreateUser": { + "depends_on": [ + "SomeOtherOrg::Auth::CreateReferral" + ], + "description": null, + "domain": "SomeOtherOrg::Auth", + "errors_types_depended_on": [ + "SomeOtherOrg::Auth::User", + "array", + "attributes", + "duck", + "string", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOtherOrg::Auth::User" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "inputs_types_depended_on": [ + "SomeOtherOrg::Auth::User", + "array", + "attributes", + "duck", + "email", + "integer", + "string", + "symbol" + ], + "organization": "SomeOtherOrg", + "parent": [ + "domain", + "SomeOtherOrg::Auth" + ], + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOtherOrg::Auth::User" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.email.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.email.cannot_cast", + "path": [ + "email" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "email" + } + } + }, + "symbol": "cannot_cast" + }, + "data.email.cannot_exceed64_characters": { + "category": "data", + "error": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", + "key": "data.email.cannot_exceed64_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "cannot_exceed64_characters": true + }, + "symbol": "cannot_exceed64_characters" + }, + "data.email.cannot_have_multiple_at_signs": { + "category": "data", + "error": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", + "key": "data.email.cannot_have_multiple_at_signs", + "path": [ + "email" + ], + "processor_manifest_data": { + "cannot_have_multiple_at_signs": true + }, + "symbol": "cannot_have_multiple_at_signs" + }, + "data.email.domain_cannot_start_with_or_end_with_a_hyphen": { + "category": "data", + "error": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", + "key": "data.email.domain_cannot_start_with_or_end_with_a_hyphen", + "path": [ + "email" + ], + "processor_manifest_data": { + "domain_cannot_start_with_or_end_with_a_hyphen": true + }, + "symbol": "domain_cannot_start_with_or_end_with_a_hyphen" + }, + "data.email.first_part_cannot_be_empty": { + "category": "data", + "error": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", + "key": "data.email.first_part_cannot_be_empty", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_cannot_be_empty": true + }, + "symbol": "first_part_cannot_be_empty" + }, + "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": { + "category": "data", + "error": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", + "key": "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": true + }, + "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row" + }, + "data.email.first_part_has_bad_characters": { + "category": "data", + "error": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", + "key": "data.email.first_part_has_bad_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_has_bad_characters": true + }, + "symbol": "first_part_has_bad_characters" + }, + "data.email.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.email.missing_required_attribute", + "path": [ + "email" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.email.must_have_an_at_sign": { + "category": "data", + "error": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", + "key": "data.email.must_have_an_at_sign", + "path": [ + "email" + ], + "processor_manifest_data": { + "must_have_an_at_sign": true + }, + "symbol": "must_have_an_at_sign" + }, + "data.email.second_part_cannot_be_empty": { + "category": "data", + "error": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", + "key": "data.email.second_part_cannot_be_empty", + "path": [ + "email" + ], + "processor_manifest_data": { + "second_part_cannot_be_empty": true + }, + "symbol": "second_part_cannot_be_empty" + }, + "data.email.second_part_has_bad_characters": { + "category": "data", + "error": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", + "key": "data.email.second_part_has_bad_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "second_part_has_bad_characters": true + }, + "symbol": "second_part_has_bad_characters" + }, + "data.first_name.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.first_name.cannot_cast", + "path": [ + "first_name" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.first_name.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.first_name.missing_required_attribute", + "path": [ + "first_name" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.id.cannot_cast", + "path": [ + "id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.last_name.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.last_name.cannot_cast", + "path": [ + "last_name" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.last_name.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.last_name.missing_required_attribute", + "path": [ + "last_name" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.referral_channel.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referral_channel.cannot_cast", + "path": [ + "referral_channel" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referring_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referring_user.cannot_cast", + "path": [ + "referring_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOtherOrg::Auth::User", + "model_module": "SomeOtherOrg::Auth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOtherOrg::Auth::User" + } + } + }, + "symbol": "unexpected_attributes" + }, + "some_other_org::auth::create_referral>runtime.bad_referral": { + "category": "runtime", + "error": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", + "key": "some_other_org::auth::create_referral>runtime.bad_referral", + "runtime_path": [ + "some_other_org::auth::create_referral" + ], + "symbol": "bad_referral" + } + }, + "reference": "SomeOtherOrg::Auth::CreateUser", + "result_type": { + "type": "SomeOtherOrg::Auth::User" + }, + "result_types_depended_on": [ + "SomeOtherOrg::Auth::User" + ], + "scoped_category": "command", + "scoped_full_name": "SomeOtherOrg::Auth::CreateUser", + "scoped_full_path": [ + "SomeOtherOrg", + "Auth", + "CreateUser" + ], + "scoped_name": "CreateUser", + "scoped_path": [ + "CreateUser" + ], + "scoped_prefix": null, + "scoped_short_name": "CreateUser", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "SomeOtherOrg::Auth::User", + "array", + "attributes", + "duck", + "email", + "integer", + "string", + "symbol" + ] + }, + "SomeOtherOrg::Math::CalculateExponent": { + "description": null, + "domain": "SomeOtherOrg::Math", + "errors_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "base": { + "type": "integer" + }, + "exponent": { + "type": "integer" + } + }, + "required": [ + "base", + "exponent" + ], + "type": "attributes" + }, + "inputs_types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ], + "organization": "SomeOtherOrg", + "parent": [ + "domain", + "SomeOtherOrg::Math" + ], + "possible_errors": { + "data.base.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.base.cannot_cast", + "path": [ + "base" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.base.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.base.missing_required_attribute", + "path": [ + "base" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "base", + "exponent" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "base": { + "type": "integer" + }, + "exponent": { + "type": "integer" + } + }, + "required": [ + "base", + "exponent" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.exponent.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.exponent.cannot_cast", + "path": [ + "exponent" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.exponent.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.exponent.missing_required_attribute", + "path": [ + "exponent" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "base", + "exponent" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "base": { + "type": "integer" + }, + "exponent": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + }, + "runtime.negative_exponent": { + "category": "runtime", + "error": "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError", + "key": "runtime.negative_exponent", + "symbol": "negative_exponent" + } + }, + "reference": "SomeOtherOrg::Math::CalculateExponent", + "result_type": { + "type": "integer" + }, + "result_types_depended_on": [ + "integer" + ], + "scoped_category": "command", + "scoped_full_name": "SomeOtherOrg::Math::CalculateExponent", + "scoped_full_path": [ + "SomeOtherOrg", + "Math", + "CalculateExponent" + ], + "scoped_name": "CalculateExponent", + "scoped_path": [ + "CalculateExponent" + ], + "scoped_prefix": null, + "scoped_short_name": "CalculateExponent", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ] + }, + "SomeOtherOrg::SomeOtherAuth::CreateReferral": { + "description": null, + "domain": "SomeOtherOrg::SomeOtherAuth", + "errors_types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::User", + "array", + "attributes", + "duck", + "string", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + } + }, + "required": [ + "channel", + "referring_user", + "referred_user" + ], + "type": "attributes" + }, + "inputs_types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::User", + "array", + "attributes", + "duck", + "integer", + "string", + "symbol" + ], + "organization": "SomeOtherOrg", + "parent": [ + "domain", + "SomeOtherOrg::SomeOtherAuth" + ], + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + } + }, + "required": [ + "channel", + "referring_user", + "referred_user" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.channel.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.channel.cannot_cast", + "path": [ + "channel" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.channel.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.channel.missing_required_attribute", + "path": [ + "channel" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.id.cannot_cast", + "path": [ + "id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.referred_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referred_user.cannot_cast", + "path": [ + "referred_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOtherOrg::SomeOtherAuth::User", + "model_module": "SomeOtherOrg::SomeOtherAuth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referred_user.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.referred_user.missing_required_attribute", + "path": [ + "referred_user" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.referring_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referring_user.cannot_cast", + "path": [ + "referring_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOtherOrg::SomeOtherAuth::User", + "model_module": "SomeOtherOrg::SomeOtherAuth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referring_user.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.referring_user.missing_required_attribute", + "path": [ + "referring_user" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "channel", + "referring_user", + "referred_user" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "referred_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + } + } + }, + "symbol": "unexpected_attributes" + }, + "runtime.bad_referral": { + "category": "runtime", + "error": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", + "key": "runtime.bad_referral", + "symbol": "bad_referral" + } + }, + "reference": "SomeOtherOrg::SomeOtherAuth::CreateReferral", + "result_type": { + "type": "SomeOtherOrg::SomeOtherAuth::Referral" + }, + "result_types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::Referral" + ], + "scoped_category": "command", + "scoped_full_name": "SomeOtherOrg::SomeOtherAuth::CreateReferral", + "scoped_full_path": [ + "SomeOtherOrg", + "SomeOtherAuth", + "CreateReferral" + ], + "scoped_name": "CreateReferral", + "scoped_path": [ + "CreateReferral" + ], + "scoped_prefix": null, + "scoped_short_name": "CreateReferral", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::Referral", + "SomeOtherOrg::SomeOtherAuth::User", + "array", + "attributes", + "duck", + "integer", + "string", + "symbol" + ] + }, + "SomeOtherOrg::SomeOtherAuth::CreateUser": { + "depends_on": [ + "SomeOtherOrg::SomeOtherAuth::CreateReferral" + ], + "description": null, + "domain": "SomeOtherOrg::SomeOtherAuth", + "errors_types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::User", + "array", + "attributes", + "duck", + "string", + "symbol" + ], + "inputs_type": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "inputs_types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::User", + "array", + "attributes", + "duck", + "email", + "integer", + "string", + "symbol" + ], + "organization": "SomeOtherOrg", + "parent": [ + "domain", + "SomeOtherOrg::SomeOtherAuth" + ], + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.email.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.email.cannot_cast", + "path": [ + "email" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "email" + } + } + }, + "symbol": "cannot_cast" + }, + "data.email.cannot_exceed64_characters": { + "category": "data", + "error": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", + "key": "data.email.cannot_exceed64_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "cannot_exceed64_characters": true + }, + "symbol": "cannot_exceed64_characters" + }, + "data.email.cannot_have_multiple_at_signs": { + "category": "data", + "error": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", + "key": "data.email.cannot_have_multiple_at_signs", + "path": [ + "email" + ], + "processor_manifest_data": { + "cannot_have_multiple_at_signs": true + }, + "symbol": "cannot_have_multiple_at_signs" + }, + "data.email.domain_cannot_start_with_or_end_with_a_hyphen": { + "category": "data", + "error": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", + "key": "data.email.domain_cannot_start_with_or_end_with_a_hyphen", + "path": [ + "email" + ], + "processor_manifest_data": { + "domain_cannot_start_with_or_end_with_a_hyphen": true + }, + "symbol": "domain_cannot_start_with_or_end_with_a_hyphen" + }, + "data.email.first_part_cannot_be_empty": { + "category": "data", + "error": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", + "key": "data.email.first_part_cannot_be_empty", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_cannot_be_empty": true + }, + "symbol": "first_part_cannot_be_empty" + }, + "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": { + "category": "data", + "error": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", + "key": "data.email.first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row": true + }, + "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row" + }, + "data.email.first_part_has_bad_characters": { + "category": "data", + "error": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", + "key": "data.email.first_part_has_bad_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "first_part_has_bad_characters": true + }, + "symbol": "first_part_has_bad_characters" + }, + "data.email.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.email.missing_required_attribute", + "path": [ + "email" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.email.must_have_an_at_sign": { + "category": "data", + "error": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", + "key": "data.email.must_have_an_at_sign", + "path": [ + "email" + ], + "processor_manifest_data": { + "must_have_an_at_sign": true + }, + "symbol": "must_have_an_at_sign" + }, + "data.email.second_part_cannot_be_empty": { + "category": "data", + "error": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", + "key": "data.email.second_part_cannot_be_empty", + "path": [ + "email" + ], + "processor_manifest_data": { + "second_part_cannot_be_empty": true + }, + "symbol": "second_part_cannot_be_empty" + }, + "data.email.second_part_has_bad_characters": { + "category": "data", + "error": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", + "key": "data.email.second_part_has_bad_characters", + "path": [ + "email" + ], + "processor_manifest_data": { + "second_part_has_bad_characters": true + }, + "symbol": "second_part_has_bad_characters" + }, + "data.first_name.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.first_name.cannot_cast", + "path": [ + "first_name" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.first_name.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.first_name.missing_required_attribute", + "path": [ + "first_name" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.id.cannot_cast", + "path": [ + "id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.last_name.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.last_name.cannot_cast", + "path": [ + "last_name" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.last_name.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.last_name.missing_required_attribute", + "path": [ + "last_name" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "first_name", + "last_name", + "email" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.referral_channel.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referral_channel.cannot_cast", + "path": [ + "referral_channel" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.referring_user.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.referring_user.cannot_cast", + "path": [ + "referring_user" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "attributes_declaration": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + } + }, + "required": [ + "first_name", + "last_name", + "email" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "SomeOtherOrg::SomeOtherAuth::User", + "model_module": "SomeOtherOrg::SomeOtherAuth", + "name": "User", + "primary_key": "id", + "type": "entity" + } + } + }, + "symbol": "cannot_cast" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "email": { + "type": "email" + }, + "first_name": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "last_name": { + "type": "string" + }, + "referral_channel": { + "type": "string" + }, + "referring_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + } + } + }, + "symbol": "unexpected_attributes" + }, + "some_other_org::some_other_auth::create_referral>runtime.bad_referral": { + "category": "runtime", + "error": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", + "key": "some_other_org::some_other_auth::create_referral>runtime.bad_referral", + "runtime_path": [ + "some_other_org::some_other_auth::create_referral" + ], + "symbol": "bad_referral" + } + }, + "reference": "SomeOtherOrg::SomeOtherAuth::CreateUser", + "result_type": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + }, + "result_types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::User" + ], + "scoped_category": "command", + "scoped_full_name": "SomeOtherOrg::SomeOtherAuth::CreateUser", + "scoped_full_path": [ + "SomeOtherOrg", + "SomeOtherAuth", + "CreateUser" + ], + "scoped_name": "CreateUser", + "scoped_path": [ + "CreateUser" + ], + "scoped_prefix": null, + "scoped_short_name": "CreateUser", + "serializers": [ + "Foobara::CommandConnectors::Serializers::ErrorsSerializer", + "Foobara::CommandConnectors::Serializers::JsonSerializer" + ], + "types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::User", + "array", + "attributes", + "duck", + "email", + "integer", + "string", + "symbol" + ] + } + }, + "domain": { + "Foobara::Ai::Gpt": { + "commands": [ + "Foobara::Ai::Gpt::GenerateCompletion" + ], + "domain": "Foobara::Ai::Gpt", + "organization": "Foobara::Ai", + "parent": [ + "organization", + "Foobara::Ai" + ], + "reference": "Foobara::Ai::Gpt", + "scoped_category": "domain", + "scoped_full_name": "Foobara::Ai::Gpt", + "scoped_full_path": [ + "Foobara", + "Ai", + "Gpt" + ], + "scoped_name": "Gpt", + "scoped_path": [ + "Gpt" + ], + "scoped_prefix": null, + "scoped_short_name": "Gpt", + "types": [ + "Foobara::Ai::Gpt::Choice", + "Foobara::Ai::Gpt::Completion", + "Foobara::Ai::Gpt::Message", + "Foobara::Ai::Gpt::Usage" + ] + }, + "FoobaraAi": { + "commands": [ + "FoobaraAi::Ask" + ], + "depends_on": [ + "Foobara::Ai::Gpt" + ], + "domain": "FoobaraAi", + "organization": "global_organization", + "parent": [ + "organization", + "global_organization" + ], + "reference": "FoobaraAi", + "scoped_category": "domain", + "scoped_full_name": "FoobaraAi", + "scoped_full_path": [ + "FoobaraAi" + ], + "scoped_name": "FoobaraAi", + "scoped_path": [ + "FoobaraAi" + ], + "scoped_prefix": null, + "scoped_short_name": "FoobaraAi", + "types": [ + ] + }, + "NestedModels": { + "commands": [ + "NestedModels::CreateNested", + "NestedModels::FindNested", + "NestedModels::FindNestedAggregate", + "NestedModels::FindNestedAtom", + "NestedModels::FindNestedButPutInAttributes", + "NestedModels::FindNestedButPutInAttributesAggregate", + "NestedModels::FindNestedButPutInAttributesAtom", + "NestedModels::FindOuterModelForOuterEntity", + "NestedModels::FindOuterModelForOuterEntityAggregate", + "NestedModels::FindOuterModelForOuterEntityAtom" + ], + "domain": "NestedModels", + "organization": "global_organization", + "parent": [ + "organization", + "global_organization" + ], + "reference": "NestedModels", + "scoped_category": "domain", + "scoped_full_name": "NestedModels", + "scoped_full_path": [ + "NestedModels" + ], + "scoped_name": "NestedModels", + "scoped_path": [ + "NestedModels" + ], + "scoped_prefix": null, + "scoped_short_name": "NestedModels", + "types": [ + "NestedModels::InnerEntity", + "NestedModels::InnerModel", + "NestedModels::OuterEntity", + "NestedModels::OuterModel" + ] + }, + "NestedModels2": { + "commands": [ + "NestedModels2::CreateNested", + "NestedModels2::FindNested", + "NestedModels2::FindNestedAggregate", + "NestedModels2::FindNestedAtom", + "NestedModels2::FindNestedButPutInAttributes", + "NestedModels2::FindNestedButPutInAttributesAggregate", + "NestedModels2::FindNestedButPutInAttributesAtom", + "NestedModels2::FindOuterModelForOuterEntity", + "NestedModels2::FindOuterModelForOuterEntityAggregate", + "NestedModels2::FindOuterModelForOuterEntityAtom" + ], + "domain": "NestedModels2", + "organization": "global_organization", + "parent": [ + "organization", + "global_organization" + ], + "reference": "NestedModels2", + "scoped_category": "domain", + "scoped_full_name": "NestedModels2", + "scoped_full_path": [ + "NestedModels2" + ], + "scoped_name": "NestedModels2", + "scoped_path": [ + "NestedModels2" + ], + "scoped_prefix": null, + "scoped_short_name": "NestedModels2", + "types": [ + "NestedModels2::InnerEntity", + "NestedModels2::InnerModel", + "NestedModels2::OuterEntity", + "NestedModels2::OuterModel" + ] + }, + "NestedModels3": { + "commands": [ + "NestedModels3::CreateNested", + "NestedModels3::FindNested", + "NestedModels3::FindNestedAggregate", + "NestedModels3::FindNestedAtom", + "NestedModels3::FindNestedButPutInAttributes", + "NestedModels3::FindNestedButPutInAttributesAggregate", + "NestedModels3::FindNestedButPutInAttributesAtom", + "NestedModels3::FindOuterModelForOuterEntity", + "NestedModels3::FindOuterModelForOuterEntityAggregate", + "NestedModels3::FindOuterModelForOuterEntityAtom" + ], + "domain": "NestedModels3", + "organization": "global_organization", + "parent": [ + "organization", + "global_organization" + ], + "reference": "NestedModels3", + "scoped_category": "domain", + "scoped_full_name": "NestedModels3", + "scoped_full_path": [ + "NestedModels3" + ], + "scoped_name": "NestedModels3", + "scoped_path": [ + "NestedModels3" + ], + "scoped_prefix": null, + "scoped_short_name": "NestedModels3", + "types": [ + "NestedModels3::InnerEntity", + "NestedModels3::InnerModel", + "NestedModels3::OuterEntity", + "NestedModels3::OuterModel" + ] + }, + "NestedModelsNoCollisions": { + "commands": [ + "NestedModelsNoCollisions::CreateNestedNoCollisions", + "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisions", + "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAggregate", + "NestedModelsNoCollisions::FindNestedButPutInAttributesNoCollisionsAtom", + "NestedModelsNoCollisions::FindNestedNoCollisions", + "NestedModelsNoCollisions::FindNestedNoCollisionsAggregate", + "NestedModelsNoCollisions::FindNestedNoCollisionsAtom", + "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisions", + "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAggregate", + "NestedModelsNoCollisions::FindOuterModelForOuterEntityNoCollisionsAtom" + ], + "domain": "NestedModelsNoCollisions", + "organization": "global_organization", + "parent": [ + "organization", + "global_organization" + ], + "reference": "NestedModelsNoCollisions", + "scoped_category": "domain", + "scoped_full_name": "NestedModelsNoCollisions", + "scoped_full_path": [ + "NestedModelsNoCollisions" + ], + "scoped_name": "NestedModelsNoCollisions", + "scoped_path": [ + "NestedModelsNoCollisions" + ], + "scoped_prefix": null, + "scoped_short_name": "NestedModelsNoCollisions", + "types": [ + "NestedModelsNoCollisions::InnerEntityNoCollisions", + "NestedModelsNoCollisions::InnerModelNoCollisions", + "NestedModelsNoCollisions::ModelInAModelNoCollisions", + "NestedModelsNoCollisions::OuterEntityNoCollisions", + "NestedModelsNoCollisions::OuterModelNoCollisions" + ] + }, + "SomeDomainWithoutOrg": { + "commands": [ + "SomeDomainWithoutOrg::CommandWithDomainButNoOrg" + ], + "domain": "SomeDomainWithoutOrg", + "organization": "global_organization", + "parent": [ + "organization", + "global_organization" + ], + "reference": "SomeDomainWithoutOrg", + "scoped_category": "domain", + "scoped_full_name": "SomeDomainWithoutOrg", + "scoped_full_path": [ + "SomeDomainWithoutOrg" + ], + "scoped_name": "SomeDomainWithoutOrg", + "scoped_path": [ + "SomeDomainWithoutOrg" + ], + "scoped_prefix": null, + "scoped_short_name": "SomeDomainWithoutOrg", + "types": [ + ] + }, + "SomeOrg::Auth": { + "commands": [ + "SomeOrg::Auth::CreateReferral", + "SomeOrg::Auth::CreateUser" + ], + "domain": "SomeOrg::Auth", + "organization": "SomeOrg", + "parent": [ + "organization", + "SomeOrg" + ], + "reference": "SomeOrg::Auth", + "scoped_category": "domain", + "scoped_full_name": "SomeOrg::Auth", + "scoped_full_path": [ + "SomeOrg", + "Auth" + ], + "scoped_name": "Auth", + "scoped_path": [ + "Auth" + ], + "scoped_prefix": null, + "scoped_short_name": "Auth", + "types": [ + "SomeOrg::Auth::Referral", + "SomeOrg::Auth::User" + ] + }, + "SomeOrg::Math": { + "commands": [ + "SomeOrg::Math::CalculateExponent" + ], + "domain": "SomeOrg::Math", + "organization": "SomeOrg", + "parent": [ + "organization", + "SomeOrg" + ], + "reference": "SomeOrg::Math", + "scoped_category": "domain", + "scoped_full_name": "SomeOrg::Math", + "scoped_full_path": [ + "SomeOrg", + "Math" + ], + "scoped_name": "Math", + "scoped_path": [ + "Math" + ], + "scoped_prefix": null, + "scoped_short_name": "Math", + "types": [ + ] + }, + "SomeOtherOrg::Auth": { + "commands": [ + "SomeOtherOrg::Auth::CreateReferral", + "SomeOtherOrg::Auth::CreateUser" + ], + "domain": "SomeOtherOrg::Auth", + "organization": "SomeOtherOrg", + "parent": [ + "organization", + "SomeOtherOrg" + ], + "reference": "SomeOtherOrg::Auth", + "scoped_category": "domain", + "scoped_full_name": "SomeOtherOrg::Auth", + "scoped_full_path": [ + "SomeOtherOrg", + "Auth" + ], + "scoped_name": "Auth", + "scoped_path": [ + "Auth" + ], + "scoped_prefix": null, + "scoped_short_name": "Auth", + "types": [ + "SomeOtherOrg::Auth::Referral", + "SomeOtherOrg::Auth::User" + ] + }, + "SomeOtherOrg::Math": { + "commands": [ + "SomeOtherOrg::Math::CalculateExponent" + ], + "domain": "SomeOtherOrg::Math", + "organization": "SomeOtherOrg", + "parent": [ + "organization", + "SomeOtherOrg" + ], + "reference": "SomeOtherOrg::Math", + "scoped_category": "domain", + "scoped_full_name": "SomeOtherOrg::Math", + "scoped_full_path": [ + "SomeOtherOrg", + "Math" + ], + "scoped_name": "Math", + "scoped_path": [ + "Math" + ], + "scoped_prefix": null, + "scoped_short_name": "Math", + "types": [ + ] + }, + "SomeOtherOrg::SomeOtherAuth": { + "commands": [ + "SomeOtherOrg::SomeOtherAuth::CreateReferral", + "SomeOtherOrg::SomeOtherAuth::CreateUser" + ], + "domain": "SomeOtherOrg::SomeOtherAuth", + "organization": "SomeOtherOrg", + "parent": [ + "organization", + "SomeOtherOrg" + ], + "reference": "SomeOtherOrg::SomeOtherAuth", + "scoped_category": "domain", + "scoped_full_name": "SomeOtherOrg::SomeOtherAuth", + "scoped_full_path": [ + "SomeOtherOrg", + "SomeOtherAuth" + ], + "scoped_name": "SomeOtherAuth", + "scoped_path": [ + "SomeOtherAuth" + ], + "scoped_prefix": null, + "scoped_short_name": "SomeOtherAuth", + "types": [ + "SomeOtherOrg::SomeOtherAuth::Referral", + "SomeOtherOrg::SomeOtherAuth::User" + ] + }, + "global_organization::global_domain": { + "commands": [ + "GlobalCommand" + ], + "domain": "global_organization::global_domain", + "organization": "global_organization", + "parent": [ + "organization", + "global_organization" + ], + "reference": "global_organization::global_domain", + "scoped_category": "domain", + "scoped_full_name": "", + "scoped_full_path": [ + ], + "scoped_name": null, + "scoped_path": [ + ], + "scoped_prefix": [ + ], + "scoped_short_name": null, + "types": [ + "array", + "associative_array", + "atomic_duck", + "attributes", + "datetime", + "duck", + "duckture", + "email", + "entity", + "integer", + "model", + "number", + "string", + "symbol" + ] + } + }, + "error": { + "Foobara::Value::Processor::Casting::CannotCastError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "attribute_name": { + "type": "symbol" + }, + "cast_to": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "Foobara::Value", + "is_fatal": true, + "organization": "Foobara", + "parent": [ + "processor_class", + "Foobara::Value::Processor::Casting" + ], + "reference": "Foobara::Value::Processor::Casting::CannotCastError", + "scoped_category": "error", + "scoped_full_name": "Foobara::Value::Processor::Casting::CannotCastError", + "scoped_full_path": [ + "Foobara", + "Value", + "Processor", + "Casting", + "CannotCastError" + ], + "scoped_name": "CannotCastError", + "scoped_path": [ + "CannotCastError" + ], + "scoped_prefix": null, + "scoped_short_name": "CannotCastError", + "symbol": "cannot_cast", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "GlobalError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": true, + "organization": "global_organization", + "parent": [ + "domain", + "global_organization::global_domain" + ], + "reference": "GlobalError", + "scoped_category": "error", + "scoped_full_name": "GlobalError", + "scoped_full_path": [ + "GlobalError" + ], + "scoped_name": "GlobalError", + "scoped_path": [ + "GlobalError" + ], + "scoped_prefix": null, + "scoped_short_name": "GlobalError", + "symbol": "global", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "NestedModels3::FindNested::OuterEntityNotFoundError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "criteria": { + "type": "duck" + }, + "data_path": { + "type": "string" + }, + "entity_class": { + "type": "string" + } + }, + "type": "attributes" + }, + "domain": "NestedModels3", + "is_fatal": true, + "organization": "global_organization", + "parent": [ + "command", + "NestedModels3::FindNested" + ], + "reference": "NestedModels3::FindNested::OuterEntityNotFoundError", + "scoped_category": "error", + "scoped_full_name": "NestedModels3::FindNested::OuterEntityNotFoundError", + "scoped_full_path": [ + "NestedModels3", + "FindNested", + "OuterEntityNotFoundError" + ], + "scoped_name": "OuterEntityNotFoundError", + "scoped_path": [ + "OuterEntityNotFoundError" + ], + "scoped_prefix": null, + "scoped_short_name": "OuterEntityNotFoundError", + "symbol": "outer_entity_not_found", + "types_depended_on": [ + "array", + "attributes", + "duck", + "string", + "symbol" + ] + }, + "NestedModels3::FindNestedButPutInAttributes::OuterEntityNotFoundError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "criteria": { + "type": "duck" + }, + "data_path": { + "type": "string" + }, + "entity_class": { + "type": "string" + } + }, + "type": "attributes" + }, + "domain": "NestedModels3", + "is_fatal": true, + "organization": "global_organization", + "parent": [ + "command", + "NestedModels3::FindNestedButPutInAttributes" + ], + "reference": "NestedModels3::FindNestedButPutInAttributes::OuterEntityNotFoundError", + "scoped_category": "error", + "scoped_full_name": "NestedModels3::FindNestedButPutInAttributes::OuterEntityNotFoundError", + "scoped_full_path": [ + "NestedModels3", + "FindNestedButPutInAttributes", + "OuterEntityNotFoundError" + ], + "scoped_name": "OuterEntityNotFoundError", + "scoped_path": [ + "OuterEntityNotFoundError" + ], + "scoped_prefix": null, + "scoped_short_name": "OuterEntityNotFoundError", + "symbol": "outer_entity_not_found", + "types_depended_on": [ + "array", + "attributes", + "duck", + "string", + "symbol" + ] + }, + "NestedModels3::FindOuterModelForOuterEntity::OuterEntityNotFoundError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "criteria": { + "type": "duck" + }, + "data_path": { + "type": "string" + }, + "entity_class": { + "type": "string" + } + }, + "type": "attributes" + }, + "domain": "NestedModels3", + "is_fatal": true, + "organization": "global_organization", + "parent": [ + "command", + "NestedModels3::FindOuterModelForOuterEntity" + ], + "reference": "NestedModels3::FindOuterModelForOuterEntity::OuterEntityNotFoundError", + "scoped_category": "error", + "scoped_full_name": "NestedModels3::FindOuterModelForOuterEntity::OuterEntityNotFoundError", + "scoped_full_path": [ + "NestedModels3", + "FindOuterModelForOuterEntity", + "OuterEntityNotFoundError" + ], + "scoped_name": "OuterEntityNotFoundError", + "scoped_path": [ + "OuterEntityNotFoundError" + ], + "scoped_prefix": null, + "scoped_short_name": "OuterEntityNotFoundError", + "symbol": "outer_entity_not_found", + "types_depended_on": [ + "array", + "attributes", + "duck", + "string", + "symbol" + ] + }, + "SomeOrg::Auth::CreateReferral::BadReferralError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "referred_user": { + "type": "SomeOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOrg::Auth::User" + } + }, + "type": "attributes" + }, + "domain": "SomeOrg::Auth", + "is_fatal": true, + "organization": "SomeOrg", + "parent": [ + "command", + "SomeOrg::Auth::CreateReferral" + ], + "reference": "SomeOrg::Auth::CreateReferral::BadReferralError", + "scoped_category": "error", + "scoped_full_name": "SomeOrg::Auth::CreateReferral::BadReferralError", + "scoped_full_path": [ + "SomeOrg", + "Auth", + "CreateReferral", + "BadReferralError" + ], + "scoped_name": "BadReferralError", + "scoped_path": [ + "BadReferralError" + ], + "scoped_prefix": null, + "scoped_short_name": "BadReferralError", + "symbol": "bad_referral", + "types_depended_on": [ + "SomeOrg::Auth::User", + "array", + "attributes", + "duck", + "string", + "symbol" + ] + }, + "SomeOrg::Math::CalculateExponent::NegativeExponentError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "exponent": { + "type": "integer" + } + }, + "type": "attributes" + }, + "domain": "SomeOrg::Math", + "is_fatal": true, + "organization": "SomeOrg", + "parent": [ + "command", + "SomeOrg::Math::CalculateExponent" + ], + "reference": "SomeOrg::Math::CalculateExponent::NegativeExponentError", + "scoped_category": "error", + "scoped_full_name": "SomeOrg::Math::CalculateExponent::NegativeExponentError", + "scoped_full_path": [ + "SomeOrg", + "Math", + "CalculateExponent", + "NegativeExponentError" + ], + "scoped_name": "NegativeExponentError", + "scoped_path": [ + "NegativeExponentError" + ], + "scoped_prefix": null, + "scoped_short_name": "NegativeExponentError", + "symbol": "negative_exponent", + "types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ] + }, + "SomeOtherOrg::Auth::CreateReferral::BadReferralError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "referred_user": { + "type": "SomeOtherOrg::Auth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::Auth::User" + } + }, + "type": "attributes" + }, + "domain": "SomeOtherOrg::Auth", + "is_fatal": true, + "organization": "SomeOtherOrg", + "parent": [ + "command", + "SomeOtherOrg::Auth::CreateReferral" + ], + "reference": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", + "scoped_category": "error", + "scoped_full_name": "SomeOtherOrg::Auth::CreateReferral::BadReferralError", + "scoped_full_path": [ + "SomeOtherOrg", + "Auth", + "CreateReferral", + "BadReferralError" + ], + "scoped_name": "BadReferralError", + "scoped_path": [ + "BadReferralError" + ], + "scoped_prefix": null, + "scoped_short_name": "BadReferralError", + "symbol": "bad_referral", + "types_depended_on": [ + "SomeOtherOrg::Auth::User", + "array", + "attributes", + "duck", + "string", + "symbol" + ] + }, + "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "exponent": { + "type": "integer" + } + }, + "type": "attributes" + }, + "domain": "SomeOtherOrg::Math", + "is_fatal": true, + "organization": "SomeOtherOrg", + "parent": [ + "command", + "SomeOtherOrg::Math::CalculateExponent" + ], + "reference": "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError", + "scoped_category": "error", + "scoped_full_name": "SomeOtherOrg::Math::CalculateExponent::NegativeExponentError", + "scoped_full_path": [ + "SomeOtherOrg", + "Math", + "CalculateExponent", + "NegativeExponentError" + ], + "scoped_name": "NegativeExponentError", + "scoped_path": [ + "NegativeExponentError" + ], + "scoped_prefix": null, + "scoped_short_name": "NegativeExponentError", + "symbol": "negative_exponent", + "types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ] + }, + "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError": { + "category": "runtime", + "context_type_declaration": { + "element_type_declarations": { + "channel": { + "type": "string" + }, + "referred_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + }, + "referring_user": { + "type": "SomeOtherOrg::SomeOtherAuth::User" + } + }, + "type": "attributes" + }, + "domain": "SomeOtherOrg::SomeOtherAuth", + "is_fatal": true, + "organization": "SomeOtherOrg", + "parent": [ + "command", + "SomeOtherOrg::SomeOtherAuth::CreateReferral" + ], + "reference": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", + "scoped_category": "error", + "scoped_full_name": "SomeOtherOrg::SomeOtherAuth::CreateReferral::BadReferralError", + "scoped_full_path": [ + "SomeOtherOrg", + "SomeOtherAuth", + "CreateReferral", + "BadReferralError" + ], + "scoped_name": "BadReferralError", + "scoped_path": [ + "BadReferralError" + ], + "scoped_prefix": null, + "scoped_short_name": "BadReferralError", + "symbol": "bad_referral", + "types_depended_on": [ + "SomeOtherOrg::SomeOtherAuth::User", + "array", + "attributes", + "duck", + "string", + "symbol" + ] + }, + "array::SupportedValidators::Size::IncorrectTupleSizeError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "actual_size": { + "type": "integer" + }, + "expected_size": { + "type": "integer" + }, + "value": { + "type": "array" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "array::SupportedValidators::Size" + ], + "reference": "array::SupportedValidators::Size::IncorrectTupleSizeError", + "scoped_category": "error", + "scoped_full_name": "array::SupportedValidators::Size::IncorrectTupleSizeError", + "scoped_full_path": [ + "array", + "SupportedValidators", + "Size", + "IncorrectTupleSizeError" + ], + "scoped_name": "IncorrectTupleSizeError", + "scoped_path": [ + "IncorrectTupleSizeError" + ], + "scoped_prefix": null, + "scoped_short_name": "IncorrectTupleSizeError", + "symbol": "incorrect_tuple_size", + "types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "symbol" + ] + }, + "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "allowed_attributes": { + "element_type_declaration": { + "type": "symbol" + }, + "type": "array" + }, + "unexpected_attributes": { + "element_type_declaration": { + "type": "symbol" + }, + "type": "array" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": true, + "organization": "global_organization", + "parent": [ + "processor_class", + "attributes::SupportedProcessors::ElementTypeDeclarations" + ], + "reference": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "scoped_category": "error", + "scoped_full_name": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "scoped_full_path": [ + "attributes", + "SupportedProcessors", + "ElementTypeDeclarations", + "UnexpectedAttributesError" + ], + "scoped_name": "UnexpectedAttributesError", + "scoped_path": [ + "UnexpectedAttributesError" + ], + "scoped_prefix": null, + "scoped_short_name": "UnexpectedAttributesError", + "symbol": "unexpected_attributes", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "attributes::SupportedValidators::Required::MissingRequiredAttributeError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "attribute_name": { + "type": "symbol" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": true, + "organization": "global_organization", + "parent": [ + "processor_class", + "attributes::SupportedValidators::Required" + ], + "reference": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "scoped_category": "error", + "scoped_full_name": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "scoped_full_path": [ + "attributes", + "SupportedValidators", + "Required", + "MissingRequiredAttributeError" + ], + "scoped_name": "MissingRequiredAttributeError", + "scoped_path": [ + "MissingRequiredAttributeError" + ], + "scoped_prefix": null, + "scoped_short_name": "MissingRequiredAttributeError", + "symbol": "missing_required_attribute", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "duck::SupportedValidators::OneOf::ValueNotValidError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "valid_values": { + "element_type_declaration": { + "type": "duck" + }, + "type": "array" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "duck::SupportedValidators::OneOf" + ], + "reference": "duck::SupportedValidators::OneOf::ValueNotValidError", + "scoped_category": "error", + "scoped_full_name": "duck::SupportedValidators::OneOf::ValueNotValidError", + "scoped_full_path": [ + "duck", + "SupportedValidators", + "OneOf", + "ValueNotValidError" + ], + "scoped_name": "ValueNotValidError", + "scoped_path": [ + "ValueNotValidError" + ], + "scoped_prefix": null, + "scoped_short_name": "ValueNotValidError", + "symbol": "value_not_valid", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::CannotExceed64Characters" + ], + "reference": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::CannotExceed64Characters::CannotExceed64CharactersError", + "scoped_full_path": [ + "email", + "Validators", + "CannotExceed64Characters", + "CannotExceed64CharactersError" + ], + "scoped_name": "CannotExceed64CharactersError", + "scoped_path": [ + "CannotExceed64CharactersError" + ], + "scoped_prefix": null, + "scoped_short_name": "CannotExceed64CharactersError", + "symbol": "cannot_exceed64_characters", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::CannotHaveMultipleAtSigns" + ], + "reference": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::CannotHaveMultipleAtSigns::CannotHaveMultipleAtSignsError", + "scoped_full_path": [ + "email", + "Validators", + "CannotHaveMultipleAtSigns", + "CannotHaveMultipleAtSignsError" + ], + "scoped_name": "CannotHaveMultipleAtSignsError", + "scoped_path": [ + "CannotHaveMultipleAtSignsError" + ], + "scoped_prefix": null, + "scoped_short_name": "CannotHaveMultipleAtSignsError", + "symbol": "cannot_have_multiple_at_signs", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::DomainCannotStartWithOrEndWithAHyphen" + ], + "reference": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::DomainCannotStartWithOrEndWithAHyphen::DomainCannotStartWithOrEndWithAHyphenError", + "scoped_full_path": [ + "email", + "Validators", + "DomainCannotStartWithOrEndWithAHyphen", + "DomainCannotStartWithOrEndWithAHyphenError" + ], + "scoped_name": "DomainCannotStartWithOrEndWithAHyphenError", + "scoped_path": [ + "DomainCannotStartWithOrEndWithAHyphenError" + ], + "scoped_prefix": null, + "scoped_short_name": "DomainCannotStartWithOrEndWithAHyphenError", + "symbol": "domain_cannot_start_with_or_end_with_a_hyphen", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::FirstPartCannotBeEmpty" + ], + "reference": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::FirstPartCannotBeEmpty::FirstPartCannotBeEmptyError", + "scoped_full_path": [ + "email", + "Validators", + "FirstPartCannotBeEmpty", + "FirstPartCannotBeEmptyError" + ], + "scoped_name": "FirstPartCannotBeEmptyError", + "scoped_path": [ + "FirstPartCannotBeEmptyError" + ], + "scoped_prefix": null, + "scoped_short_name": "FirstPartCannotBeEmptyError", + "symbol": "first_part_cannot_be_empty", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow" + ], + "reference": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow::FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", + "scoped_full_path": [ + "email", + "Validators", + "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARow", + "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError" + ], + "scoped_name": "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", + "scoped_path": [ + "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError" + ], + "scoped_prefix": null, + "scoped_short_name": "FirstPartCannotStartWithOrEndWithADotOrHaveTwoDotsInARowError", + "symbol": "first_part_cannot_start_with_or_end_with_a_dot_or_have_two_dots_in_a_row", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::FirstPartHasBadCharacters" + ], + "reference": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::FirstPartHasBadCharacters::FirstPartHasBadCharactersError", + "scoped_full_path": [ + "email", + "Validators", + "FirstPartHasBadCharacters", + "FirstPartHasBadCharactersError" + ], + "scoped_name": "FirstPartHasBadCharactersError", + "scoped_path": [ + "FirstPartHasBadCharactersError" + ], + "scoped_prefix": null, + "scoped_short_name": "FirstPartHasBadCharactersError", + "symbol": "first_part_has_bad_characters", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::MustHaveAnAtSign" + ], + "reference": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::MustHaveAnAtSign::MustHaveAnAtSignError", + "scoped_full_path": [ + "email", + "Validators", + "MustHaveAnAtSign", + "MustHaveAnAtSignError" + ], + "scoped_name": "MustHaveAnAtSignError", + "scoped_path": [ + "MustHaveAnAtSignError" + ], + "scoped_prefix": null, + "scoped_short_name": "MustHaveAnAtSignError", + "symbol": "must_have_an_at_sign", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::SecondPartCannotBeEmpty" + ], + "reference": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::SecondPartCannotBeEmpty::SecondPartCannotBeEmptyError", + "scoped_full_path": [ + "email", + "Validators", + "SecondPartCannotBeEmpty", + "SecondPartCannotBeEmptyError" + ], + "scoped_name": "SecondPartCannotBeEmptyError", + "scoped_path": [ + "SecondPartCannotBeEmptyError" + ], + "scoped_prefix": null, + "scoped_short_name": "SecondPartCannotBeEmptyError", + "symbol": "second_part_cannot_be_empty", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "negate_regex": { + "type": "duck" + }, + "regex": { + "type": "duck" + }, + "value": { + "type": "duck" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "email::Validators::SecondPartHasBadCharacters" + ], + "reference": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", + "scoped_category": "error", + "scoped_full_name": "email::Validators::SecondPartHasBadCharacters::SecondPartHasBadCharactersError", + "scoped_full_path": [ + "email", + "Validators", + "SecondPartHasBadCharacters", + "SecondPartHasBadCharactersError" + ], + "scoped_name": "SecondPartHasBadCharactersError", + "scoped_path": [ + "SecondPartHasBadCharactersError" + ], + "scoped_prefix": null, + "scoped_short_name": "SecondPartHasBadCharactersError", + "symbol": "second_part_has_bad_characters", + "types_depended_on": [ + "array", + "attributes", + "duck", + "symbol" + ] + }, + "number::SupportedValidators::Max::MaxExceededError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "max": { + "type": "number" + }, + "value": { + "type": "number" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "number::SupportedValidators::Max" + ], + "reference": "number::SupportedValidators::Max::MaxExceededError", + "scoped_category": "error", + "scoped_full_name": "number::SupportedValidators::Max::MaxExceededError", + "scoped_full_path": [ + "number", + "SupportedValidators", + "Max", + "MaxExceededError" + ], + "scoped_name": "MaxExceededError", + "scoped_path": [ + "MaxExceededError" + ], + "scoped_prefix": null, + "scoped_short_name": "MaxExceededError", + "symbol": "max_exceeded", + "types_depended_on": [ + "array", + "attributes", + "duck", + "number", + "symbol" + ] + }, + "number::SupportedValidators::Min::BelowMinimumError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "min": { + "type": "number" + }, + "value": { + "type": "number" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "number::SupportedValidators::Min" + ], + "reference": "number::SupportedValidators::Min::BelowMinimumError", + "scoped_category": "error", + "scoped_full_name": "number::SupportedValidators::Min::BelowMinimumError", + "scoped_full_path": [ + "number", + "SupportedValidators", + "Min", + "BelowMinimumError" + ], + "scoped_name": "BelowMinimumError", + "scoped_path": [ + "BelowMinimumError" + ], + "scoped_prefix": null, + "scoped_short_name": "BelowMinimumError", + "symbol": "below_minimum", + "types_depended_on": [ + "array", + "attributes", + "duck", + "number", + "symbol" + ] + }, + "string::SupportedValidators::Matches::DoesNotMatchError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "regex": { + "type": "duck" + }, + "value": { + "type": "string" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", + "parent": [ + "processor_class", + "string::SupportedValidators::Matches" + ], + "reference": "string::SupportedValidators::Matches::DoesNotMatchError", + "scoped_category": "error", + "scoped_full_name": "string::SupportedValidators::Matches::DoesNotMatchError", + "scoped_full_path": [ + "string", + "SupportedValidators", + "Matches", + "DoesNotMatchError" + ], + "scoped_name": "DoesNotMatchError", + "scoped_path": [ + "DoesNotMatchError" + ], + "scoped_prefix": null, + "scoped_short_name": "DoesNotMatchError", + "symbol": "does_not_match", + "types_depended_on": [ + "array", + "attributes", + "duck", + "string", + "symbol" + ] + }, + "string::SupportedValidators::MaxLength::MaxLengthExceededError": { + "category": "data", + "context_type_declaration": { + "element_type_declarations": { + "max_length": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "type": "attributes" + }, + "domain": "global_organization::global_domain", + "is_fatal": false, + "organization": "global_organization", "parent": [ "processor_class", "string::SupportedValidators::MaxLength" @@ -14652,6 +18020,7 @@ "FoobaraAi", "NestedModels", "NestedModels2", + "NestedModels3", "NestedModelsNoCollisions", "SomeDomainWithoutOrg", "global_organization::global_domain" @@ -16735,116 +20104,934 @@ "name": "Foobara::BuiltinTypes::Symbol::Casters::String", "organization": "global_organization", "parent": [ - "type", - "symbol" + "type", + "symbol" + ], + "processor_type": "caster", + "reference": "symbol::Casters::String", + "scoped_category": "processor_class", + "scoped_full_name": "symbol::Casters::String", + "scoped_full_path": [ + "symbol", + "Casters", + "String" + ], + "scoped_name": "Casters::String", + "scoped_path": [ + "Casters", + "String" + ], + "scoped_prefix": [ + "Casters" + ], + "scoped_short_name": "String" + } + }, + "type": { + "Foobara::Ai::Gpt::Choice": { + "attributes_type": { + "element_type_declarations": { + "finish_reason": { + "one_of": [ + "stop" + ], + "type": "string" + }, + "index": { + "type": "integer" + }, + "logprobs": { + "type": "duck" + }, + "message": { + "type": "Foobara::Ai::Gpt::Message" + } + }, + "type": "attributes" + }, + "base_type": "model", + "declaration_data": { + "attributes_declaration": { + "element_type_declarations": { + "finish_reason": { + "one_of": [ + "stop" + ], + "type": "string" + }, + "index": { + "type": "integer" + }, + "logprobs": { + "type": "duck" + }, + "message": { + "type": "Foobara::Ai::Gpt::Message" + } + }, + "type": "attributes" + }, + "model_base_class": "Foobara::Model", + "model_class": "Foobara::Ai::Gpt::Types::Completion::Choice", + "model_module": "Foobara::Ai::Gpt::Types::Completion", + "name": "Choice", + "type": "model" + }, + "description": null, + "domain": "Foobara::Ai::Gpt", + "domain_name": "Gpt", + "model_base_class": "Foobara::Model", + "model_class": "Foobara::Ai::Gpt::Types::Completion::Choice", + "model_name": "Choice", + "name": "Choice", + "organization": "Foobara::Ai", + "organization_name": "Foobara::Ai", + "parent": [ + "domain", + "Foobara::Ai::Gpt" ], - "processor_type": "caster", - "reference": "symbol::Casters::String", - "scoped_category": "processor_class", - "scoped_full_name": "symbol::Casters::String", + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "finish_reason": { + "one_of": [ + "stop" + ], + "type": "string" + }, + "index": { + "type": "integer" + }, + "logprobs": { + "type": "duck" + }, + "message": { + "type": "Foobara::Ai::Gpt::Message" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.finish_reason.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.finish_reason.cannot_cast", + "path": [ + "finish_reason" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "one_of": [ + "stop" + ], + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.finish_reason.value_not_valid": { + "category": "data", + "error": "duck::SupportedValidators::OneOf::ValueNotValidError", + "key": "data.finish_reason.value_not_valid", + "path": [ + "finish_reason" + ], + "processor_manifest_data": { + "one_of": [ + "stop" + ] + }, + "symbol": "value_not_valid" + }, + "data.index.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.index.cannot_cast", + "path": [ + "index" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.logprobs.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.logprobs.cannot_cast", + "path": [ + "logprobs" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "duck" + } + } + }, + "symbol": "cannot_cast" + }, + "data.message.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.message.cannot_cast", + "path": [ + "message" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "content": { + "type": "string" + }, + "role": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.message.content.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.message.content.cannot_cast", + "path": [ + "message", + "content" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.message.role.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.message.role.cannot_cast", + "path": [ + "message", + "role" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.message.role.value_not_valid": { + "category": "data", + "error": "duck::SupportedValidators::OneOf::ValueNotValidError", + "key": "data.message.role.value_not_valid", + "path": [ + "message", + "role" + ], + "processor_manifest_data": { + "one_of": [ + "assistant", + "user", + "system" + ] + }, + "symbol": "value_not_valid" + }, + "data.message.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.message.unexpected_attributes", + "path": [ + "message" + ], + "processor_manifest_data": { + "element_type_declarations": { + "content": { + "type": "string" + }, + "role": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "finish_reason": { + "one_of": [ + "stop" + ], + "type": "string" + }, + "index": { + "type": "integer" + }, + "logprobs": { + "type": "duck" + }, + "message": { + "type": "Foobara::Ai::Gpt::Message" + } + } + }, + "symbol": "unexpected_attributes" + } + }, + "processors": { + "caster_classes": [ + "model::Casters::Hash" + ], + "transformer_classes": [ + "model::Transformers::Mutable" + ], + "validator_classes": [ + "model::Validators::AttributesDeclaration" + ] + }, + "reference": "Foobara::Ai::Gpt::Choice", + "scoped_category": "type", + "scoped_full_name": "Foobara::Ai::Gpt::Choice", "scoped_full_path": [ - "symbol", - "Casters", - "String" + "Foobara", + "Ai", + "Gpt", + "Choice" ], - "scoped_name": "Casters::String", + "scoped_name": "Choice", "scoped_path": [ - "Casters", - "String" + "Choice" ], - "scoped_prefix": [ - "Casters" + "scoped_prefix": null, + "scoped_short_name": "Choice", + "supported_casters": [ + "duck::SupportedCasters::AllowNil" ], - "scoped_short_name": "String" - } - }, - "type": { - "Foobara::Ai::Gpt::Choice": { + "supported_validators": [ + "duck::SupportedValidators::OneOf" + ], + "target_classes": [ + "Foobara::Ai::Gpt::Types::Completion::Choice" + ], + "types_depended_on": [ + "Foobara::Ai::Gpt::Message", + "array", + "attributes", + "duck", + "integer", + "model", + "string", + "symbol" + ] + }, + "Foobara::Ai::Gpt::Completion": { "attributes_type": { "element_type_declarations": { - "finish_reason": { + "choices": { + "element_type_declaration": { + "type": "Foobara::Ai::Gpt::Choice" + }, + "type": "array" + }, + "created": { + "type": "datetime" + }, + "id": { + "type": "string" + }, + "model": { + "type": "string" + }, + "object": { + "one_of": [ + "chat.completion" + ], + "type": "string" + }, + "system_fingerprint": { + "allow_nil": true, + "type": "string" + }, + "usage": { + "type": "Foobara::Ai::Gpt::Usage" + } + }, + "type": "attributes" + }, + "base_type": "model", + "declaration_data": { + "attributes_declaration": { + "element_type_declarations": { + "choices": { + "element_type_declaration": { + "type": "Foobara::Ai::Gpt::Choice" + }, + "type": "array" + }, + "created": { + "type": "datetime" + }, + "id": { + "type": "string" + }, + "model": { + "type": "string" + }, + "object": { + "one_of": [ + "chat.completion" + ], + "type": "string" + }, + "system_fingerprint": { + "allow_nil": true, + "type": "string" + }, + "usage": { + "type": "Foobara::Ai::Gpt::Usage" + } + }, + "type": "attributes" + }, + "model_base_class": "Foobara::Model", + "model_class": "Foobara::Ai::Gpt::Types::Completion", + "model_module": "Foobara::Ai::Gpt::Types", + "name": "Completion", + "type": "model" + }, + "description": null, + "domain": "Foobara::Ai::Gpt", + "domain_name": "Gpt", + "model_base_class": "Foobara::Model", + "model_class": "Foobara::Ai::Gpt::Types::Completion", + "model_name": "Completion", + "name": "Completion", + "organization": "Foobara::Ai", + "organization_name": "Foobara::Ai", + "parent": [ + "domain", + "Foobara::Ai::Gpt" + ], + "possible_errors": { + "data.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "choices": { + "element_type_declaration": { + "type": "Foobara::Ai::Gpt::Choice" + }, + "type": "array" + }, + "created": { + "type": "datetime" + }, + "id": { + "type": "string" + }, + "model": { + "type": "string" + }, + "object": { + "one_of": [ + "chat.completion" + ], + "type": "string" + }, + "system_fingerprint": { + "allow_nil": true, + "type": "string" + }, + "usage": { + "type": "Foobara::Ai::Gpt::Usage" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.#.cannot_cast", + "path": [ + "choices", + "#" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "finish_reason": { + "one_of": [ + "stop" + ], + "type": "string" + }, + "index": { + "type": "integer" + }, + "logprobs": { + "type": "duck" + }, + "message": { + "type": "Foobara::Ai::Gpt::Message" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.finish_reason.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.#.finish_reason.cannot_cast", + "path": [ + "choices", + "#", + "finish_reason" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "one_of": [ + "stop" + ], + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.finish_reason.value_not_valid": { + "category": "data", + "error": "duck::SupportedValidators::OneOf::ValueNotValidError", + "key": "data.choices.#.finish_reason.value_not_valid", + "path": [ + "choices", + "#", + "finish_reason" + ], + "processor_manifest_data": { + "one_of": [ + "stop" + ] + }, + "symbol": "value_not_valid" + }, + "data.choices.#.index.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.#.index.cannot_cast", + "path": [ + "choices", + "#", + "index" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.logprobs.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.#.logprobs.cannot_cast", + "path": [ + "choices", + "#", + "logprobs" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "duck" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.message.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.#.message.cannot_cast", + "path": [ + "choices", + "#", + "message" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declarations": { + "content": { + "type": "string" + }, + "role": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" + } + }, + "type": "attributes" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.message.content.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.#.message.content.cannot_cast", + "path": [ + "choices", + "#", + "message", + "content" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.message.role.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.#.message.role.cannot_cast", + "path": [ + "choices", + "#", + "message", + "role" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.choices.#.message.role.value_not_valid": { + "category": "data", + "error": "duck::SupportedValidators::OneOf::ValueNotValidError", + "key": "data.choices.#.message.role.value_not_valid", + "path": [ + "choices", + "#", + "message", + "role" + ], + "processor_manifest_data": { "one_of": [ - "stop" - ], - "type": "string" + "assistant", + "user", + "system" + ] + }, + "symbol": "value_not_valid" + }, + "data.choices.#.message.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.choices.#.message.unexpected_attributes", + "path": [ + "choices", + "#", + "message" + ], + "processor_manifest_data": { + "element_type_declarations": { + "content": { + "type": "string" + }, + "role": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.choices.#.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.choices.#.unexpected_attributes", + "path": [ + "choices", + "#" + ], + "processor_manifest_data": { + "element_type_declarations": { + "finish_reason": { + "one_of": [ + "stop" + ], + "type": "string" + }, + "index": { + "type": "integer" + }, + "logprobs": { + "type": "duck" + }, + "message": { + "type": "Foobara::Ai::Gpt::Message" + } + } + }, + "symbol": "unexpected_attributes" + }, + "data.choices.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.choices.cannot_cast", + "path": [ + "choices" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "element_type_declaration": { + "type": "Foobara::Ai::Gpt::Choice" + }, + "type": "array" + } + } + }, + "symbol": "cannot_cast" + }, + "data.created.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.created.cannot_cast", + "path": [ + "created" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "datetime" + } + } + }, + "symbol": "cannot_cast" + }, + "data.id.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.id.cannot_cast", + "path": [ + "id" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.model.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.model.cannot_cast", + "path": [ + "model" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "string" + } + } + }, + "symbol": "cannot_cast" + }, + "data.object.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.object.cannot_cast", + "path": [ + "object" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "one_of": [ + "chat.completion" + ], + "type": "string" + } + } }, - "index": { - "type": "integer" + "symbol": "cannot_cast" + }, + "data.object.value_not_valid": { + "category": "data", + "error": "duck::SupportedValidators::OneOf::ValueNotValidError", + "key": "data.object.value_not_valid", + "path": [ + "object" + ], + "processor_manifest_data": { + "one_of": [ + "chat.completion" + ] }, - "logprobs": { - "type": "duck" + "symbol": "value_not_valid" + }, + "data.system_fingerprint.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.system_fingerprint.cannot_cast", + "path": [ + "system_fingerprint" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "allow_nil": true, + "type": "string" + } + } }, - "message": { - "type": "Foobara::Ai::Gpt::Message" - } + "symbol": "cannot_cast" }, - "type": "attributes" - }, - "base_type": "model", - "declaration_data": { - "attributes_declaration": { - "element_type_declarations": { - "finish_reason": { - "one_of": [ - "stop" - ], - "type": "string" - }, - "index": { - "type": "integer" - }, - "logprobs": { - "type": "duck" - }, - "message": { - "type": "Foobara::Ai::Gpt::Message" + "data.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", + "processor_manifest_data": { + "element_type_declarations": { + "choices": { + "element_type_declaration": { + "type": "Foobara::Ai::Gpt::Choice" + }, + "type": "array" + }, + "created": { + "type": "datetime" + }, + "id": { + "type": "string" + }, + "model": { + "type": "string" + }, + "object": { + "one_of": [ + "chat.completion" + ], + "type": "string" + }, + "system_fingerprint": { + "allow_nil": true, + "type": "string" + }, + "usage": { + "type": "Foobara::Ai::Gpt::Usage" + } } }, - "type": "attributes" + "symbol": "unexpected_attributes" }, - "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion::Choice", - "model_module": "Foobara::Ai::Gpt::Types::Completion", - "name": "Choice", - "type": "model" - }, - "description": null, - "domain": "Foobara::Ai::Gpt", - "domain_name": "Gpt", - "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion::Choice", - "model_name": "Choice", - "name": "Choice", - "organization": "Foobara::Ai", - "organization_name": "Foobara::Ai", - "parent": [ - "domain", - "Foobara::Ai::Gpt" - ], - "possible_errors": { - "data.cannot_cast": { + "data.usage.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", + "key": "data.usage.cannot_cast", + "path": [ + "usage" + ], "processor_manifest_data": { "casting": { "cast_to": { "element_type_declarations": { - "finish_reason": { - "one_of": [ - "stop" - ], - "type": "string" - }, - "index": { + "completion_tokens": { "type": "integer" }, - "logprobs": { - "type": "duck" + "prompt_tokens": { + "type": "integer" }, - "message": { - "type": "Foobara::Ai::Gpt::Message" + "total_tokens": { + "type": "integer" } }, "type": "attributes" @@ -16853,45 +21040,47 @@ }, "symbol": "cannot_cast" }, - "data.finish_reason.cannot_cast": { + "data.usage.completion_tokens.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.finish_reason.cannot_cast", + "key": "data.usage.completion_tokens.cannot_cast", "path": [ - "finish_reason" + "usage", + "completion_tokens" ], "processor_manifest_data": { "casting": { "cast_to": { - "one_of": [ - "stop" - ], - "type": "string" + "type": "integer" } } }, "symbol": "cannot_cast" }, - "data.finish_reason.value_not_valid": { + "data.usage.prompt_tokens.cannot_cast": { "category": "data", - "error": "duck::SupportedValidators::OneOf::ValueNotValidError", - "key": "data.finish_reason.value_not_valid", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.usage.prompt_tokens.cannot_cast", "path": [ - "finish_reason" + "usage", + "prompt_tokens" ], "processor_manifest_data": { - "one_of": [ - "stop" - ] + "casting": { + "cast_to": { + "type": "integer" + } + } }, - "symbol": "value_not_valid" + "symbol": "cannot_cast" }, - "data.index.cannot_cast": { + "data.usage.total_tokens.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.index.cannot_cast", + "key": "data.usage.total_tokens.cannot_cast", "path": [ - "index" + "usage", + "total_tokens" ], "processor_manifest_data": { "casting": { @@ -16900,31 +21089,138 @@ } } }, - "symbol": "cannot_cast" + "symbol": "cannot_cast" + }, + "data.usage.unexpected_attributes": { + "category": "data", + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.usage.unexpected_attributes", + "path": [ + "usage" + ], + "processor_manifest_data": { + "element_type_declarations": { + "completion_tokens": { + "type": "integer" + }, + "prompt_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + } + } + }, + "symbol": "unexpected_attributes" + } + }, + "processors": { + "caster_classes": [ + "model::Casters::Hash" + ], + "transformer_classes": [ + "model::Transformers::Mutable" + ], + "validator_classes": [ + "model::Validators::AttributesDeclaration" + ] + }, + "reference": "Foobara::Ai::Gpt::Completion", + "scoped_category": "type", + "scoped_full_name": "Foobara::Ai::Gpt::Completion", + "scoped_full_path": [ + "Foobara", + "Ai", + "Gpt", + "Completion" + ], + "scoped_name": "Completion", + "scoped_path": [ + "Completion" + ], + "scoped_prefix": null, + "scoped_short_name": "Completion", + "supported_casters": [ + "duck::SupportedCasters::AllowNil" + ], + "supported_validators": [ + "duck::SupportedValidators::OneOf" + ], + "target_classes": [ + "Foobara::Ai::Gpt::Types::Completion" + ], + "types_depended_on": [ + "Foobara::Ai::Gpt::Choice", + "Foobara::Ai::Gpt::Usage", + "array", + "attributes", + "datetime", + "duck", + "model", + "string", + "symbol" + ] + }, + "Foobara::Ai::Gpt::Message": { + "attributes_type": { + "element_type_declarations": { + "content": { + "type": "string" + }, + "role": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" + } }, - "data.logprobs.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.logprobs.cannot_cast", - "path": [ - "logprobs" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "duck" - } + "type": "attributes" + }, + "base_type": "model", + "declaration_data": { + "attributes_declaration": { + "element_type_declarations": { + "content": { + "type": "string" + }, + "role": { + "one_of": [ + "assistant", + "user", + "system" + ], + "type": "string" } }, - "symbol": "cannot_cast" + "type": "attributes" }, - "data.message.cannot_cast": { + "model_base_class": "Foobara::Model", + "model_class": "Foobara::Ai::Gpt::Types::Completion::Message", + "model_module": "Foobara::Ai::Gpt::Types::Completion", + "name": "Message", + "type": "model" + }, + "description": null, + "domain": "Foobara::Ai::Gpt", + "domain_name": "Gpt", + "model_base_class": "Foobara::Model", + "model_class": "Foobara::Ai::Gpt::Types::Completion::Message", + "model_name": "Message", + "name": "Message", + "organization": "Foobara::Ai", + "organization_name": "Foobara::Ai", + "parent": [ + "domain", + "Foobara::Ai::Gpt" + ], + "possible_errors": { + "data.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.message.cannot_cast", - "path": [ - "message" - ], + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", "processor_manifest_data": { "casting": { "cast_to": { @@ -16947,12 +21243,11 @@ }, "symbol": "cannot_cast" }, - "data.message.content.cannot_cast": { + "data.content.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.message.content.cannot_cast", + "key": "data.content.cannot_cast", "path": [ - "message", "content" ], "processor_manifest_data": { @@ -16964,12 +21259,11 @@ }, "symbol": "cannot_cast" }, - "data.message.role.cannot_cast": { + "data.role.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.message.role.cannot_cast", + "key": "data.role.cannot_cast", "path": [ - "message", "role" ], "processor_manifest_data": { @@ -16986,12 +21280,11 @@ }, "symbol": "cannot_cast" }, - "data.message.role.value_not_valid": { + "data.role.value_not_valid": { "category": "data", "error": "duck::SupportedValidators::OneOf::ValueNotValidError", - "key": "data.message.role.value_not_valid", + "key": "data.role.value_not_valid", "path": [ - "message", "role" ], "processor_manifest_data": { @@ -17003,13 +21296,11 @@ }, "symbol": "value_not_valid" }, - "data.message.unexpected_attributes": { + "data.unexpected_attributes": { "category": "data", "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.message.unexpected_attributes", - "path": [ - "message" - ], + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { "content": { @@ -17026,32 +21317,6 @@ } }, "symbol": "unexpected_attributes" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "finish_reason": { - "one_of": [ - "stop" - ], - "type": "string" - }, - "index": { - "type": "integer" - }, - "logprobs": { - "type": "duck" - }, - "message": { - "type": "Foobara::Ai::Gpt::Message" - } - } - }, - "symbol": "unexpected_attributes" } }, "processors": { @@ -17065,21 +21330,21 @@ "model::Validators::AttributesDeclaration" ] }, - "reference": "Foobara::Ai::Gpt::Choice", + "reference": "Foobara::Ai::Gpt::Message", "scoped_category": "type", - "scoped_full_name": "Foobara::Ai::Gpt::Choice", + "scoped_full_name": "Foobara::Ai::Gpt::Message", "scoped_full_path": [ "Foobara", "Ai", "Gpt", - "Choice" + "Message" ], - "scoped_name": "Choice", + "scoped_name": "Message", "scoped_path": [ - "Choice" + "Message" ], "scoped_prefix": null, - "scoped_short_name": "Choice", + "scoped_short_name": "Message", "supported_casters": [ "duck::SupportedCasters::AllowNil" ], @@ -17087,49 +21352,28 @@ "duck::SupportedValidators::OneOf" ], "target_classes": [ - "Foobara::Ai::Gpt::Types::Completion::Choice" + "Foobara::Ai::Gpt::Types::Completion::Message" ], "types_depended_on": [ - "Foobara::Ai::Gpt::Message", "array", "attributes", "duck", - "integer", "model", "string", "symbol" ] }, - "Foobara::Ai::Gpt::Completion": { + "Foobara::Ai::Gpt::Usage": { "attributes_type": { "element_type_declarations": { - "choices": { - "element_type_declaration": { - "type": "Foobara::Ai::Gpt::Choice" - }, - "type": "array" - }, - "created": { - "type": "datetime" - }, - "id": { - "type": "string" - }, - "model": { - "type": "string" - }, - "object": { - "one_of": [ - "chat.completion" - ], - "type": "string" + "completion_tokens": { + "type": "integer" }, - "system_fingerprint": { - "allow_nil": true, - "type": "string" + "prompt_tokens": { + "type": "integer" }, - "usage": { - "type": "Foobara::Ai::Gpt::Usage" + "total_tokens": { + "type": "integer" } }, "type": "attributes" @@ -17138,50 +21382,31 @@ "declaration_data": { "attributes_declaration": { "element_type_declarations": { - "choices": { - "element_type_declaration": { - "type": "Foobara::Ai::Gpt::Choice" - }, - "type": "array" - }, - "created": { - "type": "datetime" - }, - "id": { - "type": "string" - }, - "model": { - "type": "string" - }, - "object": { - "one_of": [ - "chat.completion" - ], - "type": "string" + "completion_tokens": { + "type": "integer" }, - "system_fingerprint": { - "allow_nil": true, - "type": "string" + "prompt_tokens": { + "type": "integer" }, - "usage": { - "type": "Foobara::Ai::Gpt::Usage" + "total_tokens": { + "type": "integer" } }, "type": "attributes" }, "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion", - "model_module": "Foobara::Ai::Gpt::Types", - "name": "Completion", + "model_class": "Foobara::Ai::Gpt::Types::Completion::Usage", + "model_module": "Foobara::Ai::Gpt::Types::Completion", + "name": "Usage", "type": "model" }, "description": null, "domain": "Foobara::Ai::Gpt", "domain_name": "Gpt", "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion", - "model_name": "Completion", - "name": "Completion", + "model_class": "Foobara::Ai::Gpt::Types::Completion::Usage", + "model_name": "Usage", + "name": "Usage", "organization": "Foobara::Ai", "organization_name": "Foobara::Ai", "parent": [ @@ -17198,33 +21423,14 @@ "casting": { "cast_to": { "element_type_declarations": { - "choices": { - "element_type_declaration": { - "type": "Foobara::Ai::Gpt::Choice" - }, - "type": "array" - }, - "created": { - "type": "datetime" - }, - "id": { - "type": "string" - }, - "model": { - "type": "string" - }, - "object": { - "one_of": [ - "chat.completion" - ], - "type": "string" + "completion_tokens": { + "type": "integer" }, - "system_fingerprint": { - "allow_nil": true, - "type": "string" + "prompt_tokens": { + "type": "integer" }, - "usage": { - "type": "Foobara::Ai::Gpt::Usage" + "total_tokens": { + "type": "integer" } }, "type": "attributes" @@ -17233,620 +21439,1090 @@ }, "symbol": "cannot_cast" }, - "data.choices.#.cannot_cast": { + "data.completion_tokens.cannot_cast": { + "category": "data", + "error": "Foobara::Value::Processor::Casting::CannotCastError", + "key": "data.completion_tokens.cannot_cast", + "path": [ + "completion_tokens" + ], + "processor_manifest_data": { + "casting": { + "cast_to": { + "type": "integer" + } + } + }, + "symbol": "cannot_cast" + }, + "data.prompt_tokens.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.#.cannot_cast", + "key": "data.prompt_tokens.cannot_cast", "path": [ - "choices", - "#" + "prompt_tokens" ], "processor_manifest_data": { "casting": { "cast_to": { - "element_type_declarations": { - "finish_reason": { - "one_of": [ - "stop" - ], - "type": "string" - }, - "index": { - "type": "integer" - }, - "logprobs": { - "type": "duck" - }, - "message": { - "type": "Foobara::Ai::Gpt::Message" - } - }, - "type": "attributes" + "type": "integer" } } }, "symbol": "cannot_cast" }, - "data.choices.#.finish_reason.cannot_cast": { + "data.total_tokens.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.#.finish_reason.cannot_cast", + "key": "data.total_tokens.cannot_cast", "path": [ - "choices", - "#", - "finish_reason" + "total_tokens" ], "processor_manifest_data": { "casting": { "cast_to": { - "one_of": [ - "stop" - ], - "type": "string" + "type": "integer" } } }, "symbol": "cannot_cast" }, - "data.choices.#.finish_reason.value_not_valid": { + "data.unexpected_attributes": { "category": "data", - "error": "duck::SupportedValidators::OneOf::ValueNotValidError", - "key": "data.choices.#.finish_reason.value_not_valid", - "path": [ - "choices", - "#", - "finish_reason" - ], + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { - "one_of": [ - "stop" - ] + "element_type_declarations": { + "completion_tokens": { + "type": "integer" + }, + "prompt_tokens": { + "type": "integer" + }, + "total_tokens": { + "type": "integer" + } + } }, - "symbol": "value_not_valid" + "symbol": "unexpected_attributes" + } + }, + "processors": { + "caster_classes": [ + "model::Casters::Hash" + ], + "transformer_classes": [ + "model::Transformers::Mutable" + ], + "validator_classes": [ + "model::Validators::AttributesDeclaration" + ] + }, + "reference": "Foobara::Ai::Gpt::Usage", + "scoped_category": "type", + "scoped_full_name": "Foobara::Ai::Gpt::Usage", + "scoped_full_path": [ + "Foobara", + "Ai", + "Gpt", + "Usage" + ], + "scoped_name": "Usage", + "scoped_path": [ + "Usage" + ], + "scoped_prefix": null, + "scoped_short_name": "Usage", + "supported_casters": [ + "duck::SupportedCasters::AllowNil" + ], + "supported_validators": [ + "duck::SupportedValidators::OneOf" + ], + "target_classes": [ + "Foobara::Ai::Gpt::Types::Completion::Usage" + ], + "types_depended_on": [ + "array", + "attributes", + "duck", + "integer", + "model", + "symbol" + ] + }, + "NestedModels2::InnerEntity": { + "attributes_type": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModels2::InnerModel" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModels2::InnerModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerModel" + }, + "type": "array" + } }, - "data.choices.#.index.cannot_cast": { + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "base_type": "entity", + "declaration_data": { + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModels2::InnerModel" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModels2::InnerModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::InnerEntity", + "model_module": "NestedModels2::Types", + "name": "InnerEntity", + "primary_key": "id", + "type": "entity" + }, + "description": null, + "domain": "NestedModels2", + "domain_name": "NestedModels2", + "entity_name": "InnerEntity", + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::InnerEntity", + "model_name": "InnerEntity", + "name": "InnerEntity", + "organization": "global_organization", + "organization_name": "global_organization", + "parent": [ + "domain", + "NestedModels2" + ], + "possible_errors": { + "data.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.#.index.cannot_cast", - "path": [ - "choices", - "#", - "index" - ], + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModels2::InnerModel" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModels2::InnerModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::InnerEntity", + "model_module": "NestedModels2::Types", + "name": "InnerEntity", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" - }, - "data.choices.#.logprobs.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.#.logprobs.cannot_cast", - "path": [ - "choices", - "#", - "logprobs" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "duck" + } + }, + "primary_key_attribute": "id", + "primary_key_type": { + "type": "integer" + }, + "processors": { + "caster_classes": [ + "Foobara::TypeDeclarations::Handlers::ExtendEntityTypeDeclaration::ToTypeTransformer::EntityPrimaryKeyCaster", + "entity::Casters::Hash" + ], + "transformer_classes": [ + "model::Transformers::Mutable" + ], + "validator_classes": [ + "entity::Validators::AttributesDeclaration" + ] + }, + "reference": "NestedModels2::InnerEntity", + "scoped_category": "type", + "scoped_full_name": "NestedModels2::InnerEntity", + "scoped_full_path": [ + "NestedModels2", + "InnerEntity" + ], + "scoped_name": "InnerEntity", + "scoped_path": [ + "InnerEntity" + ], + "scoped_prefix": null, + "scoped_short_name": "InnerEntity", + "supported_casters": [ + "duck::SupportedCasters::AllowNil" + ], + "supported_validators": [ + "duck::SupportedValidators::OneOf" + ], + "target_classes": [ + "NestedModels2::Types::InnerEntity" + ], + "types_depended_on": [ + "NestedModels2::InnerModel", + "array", + "attributes", + "duck", + "entity", + "integer", + "symbol" + ] + }, + "NestedModels2::InnerModel": { + "attributes_type": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" } + }, + "required": [ + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + } + }, + "required": [ + "attr1", + "foo" + ], + "type": "attributes" + }, + "base_type": "model", + "declaration_data": { + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + } + }, + "required": [ + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" } }, - "symbol": "cannot_cast" + "required": [ + "attr1", + "foo" + ], + "type": "attributes" }, - "data.choices.#.message.cannot_cast": { + "model_base_class": "Foobara::Model", + "model_class": "NestedModels2::Types::InnerModel", + "model_module": "NestedModels2::Types", + "name": "InnerModel", + "type": "model" + }, + "description": null, + "domain": "NestedModels2", + "domain_name": "NestedModels2", + "model_base_class": "Foobara::Model", + "model_class": "NestedModels2::Types::InnerModel", + "model_name": "InnerModel", + "name": "InnerModel", + "organization": "global_organization", + "organization_name": "global_organization", + "parent": [ + "domain", + "NestedModels2" + ], + "possible_errors": { + "data.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.#.message.cannot_cast", + "key": "data.attr1.cannot_cast", "path": [ - "choices", - "#", - "message" + "attr1" ], "processor_manifest_data": { "casting": { "cast_to": { "element_type_declarations": { - "content": { - "type": "string" - }, - "role": { - "one_of": [ - "assistant", - "user", - "system" - ], + "foo": { "type": "string" } }, + "required": [ + "foo" + ], "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.choices.#.message.content.cannot_cast": { - "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.#.message.content.cannot_cast", - "path": [ - "choices", - "#", - "message", - "content" - ], - "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } - }, - "symbol": "cannot_cast" - }, - "data.choices.#.message.role.cannot_cast": { + "data.attr1.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.#.message.role.cannot_cast", + "key": "data.attr1.foo.cannot_cast", "path": [ - "choices", - "#", - "message", - "role" + "attr1", + "foo" ], "processor_manifest_data": { "casting": { "cast_to": { - "one_of": [ - "assistant", - "user", - "system" - ], "type": "string" } } }, "symbol": "cannot_cast" }, - "data.choices.#.message.role.value_not_valid": { + "data.attr1.foo.missing_required_attribute": { "category": "data", - "error": "duck::SupportedValidators::OneOf::ValueNotValidError", - "key": "data.choices.#.message.role.value_not_valid", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.foo.missing_required_attribute", "path": [ - "choices", - "#", - "message", - "role" + "attr1", + "foo" ], "processor_manifest_data": { - "one_of": [ - "assistant", - "user", - "system" + "required": [ + "foo" ] }, - "symbol": "value_not_valid" + "symbol": "missing_required_attribute" }, - "data.choices.#.message.unexpected_attributes": { + "data.attr1.missing_required_attribute": { "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.choices.#.message.unexpected_attributes", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.missing_required_attribute", "path": [ - "choices", - "#", - "message" + "attr1" ], "processor_manifest_data": { - "element_type_declarations": { - "content": { - "type": "string" - }, - "role": { - "one_of": [ - "assistant", - "user", - "system" - ], - "type": "string" - } - } + "pipeline": null }, - "symbol": "unexpected_attributes" + "symbol": "missing_required_attribute" }, - "data.choices.#.unexpected_attributes": { + "data.attr1.unexpected_attributes": { "category": "data", "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.choices.#.unexpected_attributes", + "key": "data.attr1.unexpected_attributes", "path": [ - "choices", - "#" + "attr1" ], "processor_manifest_data": { "element_type_declarations": { - "finish_reason": { - "one_of": [ - "stop" - ], - "type": "string" - }, - "index": { - "type": "integer" - }, - "logprobs": { - "type": "duck" - }, - "message": { - "type": "Foobara::Ai::Gpt::Message" + "foo": { + "type": "string" } } }, "symbol": "unexpected_attributes" }, - "data.choices.cannot_cast": { + "data.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.choices.cannot_cast", - "path": [ - "choices" - ], + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", "processor_manifest_data": { "casting": { "cast_to": { - "element_type_declaration": { - "type": "Foobara::Ai::Gpt::Choice" + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + } + }, + "required": [ + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + } }, - "type": "array" + "required": [ + "attr1", + "foo" + ], + "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.created.cannot_cast": { + "data.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.created.cannot_cast", + "key": "data.foo.cannot_cast", "path": [ - "created" + "foo" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "datetime" + "type": "string" } } }, "symbol": "cannot_cast" }, - "data.id.cannot_cast": { + "data.foo.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.id.cannot_cast", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.foo.missing_required_attribute", "path": [ - "id" + "foo" ], + "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } + "required": [ + "attr1", + "foo" + ] }, - "symbol": "cannot_cast" + "symbol": "missing_required_attribute" }, - "data.model.cannot_cast": { + "data.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.model.cannot_cast", - "path": [ - "model" - ], + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "string" - } - } + "pipeline": null }, - "symbol": "cannot_cast" + "symbol": "missing_required_attribute" }, - "data.object.cannot_cast": { + "data.unexpected_attributes": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.object.cannot_cast", - "path": [ - "object" - ], + "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", + "key": "data.unexpected_attributes", + "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { - "casting": { - "cast_to": { - "one_of": [ - "chat.completion" + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + } + }, + "required": [ + "foo" ], + "type": "attributes" + }, + "foo": { "type": "string" } } }, - "symbol": "cannot_cast" + "symbol": "unexpected_attributes" + } + }, + "processors": { + "caster_classes": [ + "model::Casters::Hash" + ], + "transformer_classes": [ + "model::Transformers::Mutable" + ], + "validator_classes": [ + "model::Validators::AttributesDeclaration" + ] + }, + "reference": "NestedModels2::InnerModel", + "scoped_category": "type", + "scoped_full_name": "NestedModels2::InnerModel", + "scoped_full_path": [ + "NestedModels2", + "InnerModel" + ], + "scoped_name": "InnerModel", + "scoped_path": [ + "InnerModel" + ], + "scoped_prefix": null, + "scoped_short_name": "InnerModel", + "supported_casters": [ + "duck::SupportedCasters::AllowNil" + ], + "supported_validators": [ + "duck::SupportedValidators::OneOf" + ], + "target_classes": [ + "NestedModels2::Types::InnerModel" + ], + "types_depended_on": [ + "array", + "attributes", + "duck", + "model", + "string", + "symbol" + ] + }, + "NestedModels2::OuterEntity": { + "associations": { + "attr1.outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", + "attr1.outer_model.inner_entity": "NestedModels2::InnerEntity", + "attr1.outer_model.some_array.#": "NestedModels2::InnerEntity", + "outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", + "outer_model.inner_entity": "NestedModels2::InnerEntity", + "outer_model.some_array.#": "NestedModels2::InnerEntity", + "some_array.#.attr1.inner_entity": "NestedModels2::InnerEntity", + "some_array.#.inner_entity": "NestedModels2::InnerEntity", + "some_array.#.some_array.#": "NestedModels2::InnerEntity" + }, + "attributes_type": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels2::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels2::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::OuterModel" + }, + "type": "array" + } }, - "data.object.value_not_valid": { - "category": "data", - "error": "duck::SupportedValidators::OneOf::ValueNotValidError", - "key": "data.object.value_not_valid", - "path": [ - "object" - ], - "processor_manifest_data": { - "one_of": [ - "chat.completion" - ] + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "base_type": "entity", + "declaration_data": { + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels2::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels2::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::OuterModel" + }, + "type": "array" + } }, - "symbol": "value_not_valid" + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" }, - "data.system_fingerprint.cannot_cast": { + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::OuterEntity", + "model_module": "NestedModels2::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" + }, + "deep_associations": { + "attr1.outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", + "attr1.outer_model.inner_entity": "NestedModels2::InnerEntity", + "attr1.outer_model.some_array.#": "NestedModels2::InnerEntity", + "outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", + "outer_model.inner_entity": "NestedModels2::InnerEntity", + "outer_model.some_array.#": "NestedModels2::InnerEntity", + "some_array.#.attr1.inner_entity": "NestedModels2::InnerEntity", + "some_array.#.inner_entity": "NestedModels2::InnerEntity", + "some_array.#.some_array.#": "NestedModels2::InnerEntity" + }, + "deep_depends_on": [ + "NestedModels2::InnerEntity" + ], + "depends_on": [ + "NestedModels2::InnerEntity" + ], + "description": null, + "domain": "NestedModels2", + "domain_name": "NestedModels2", + "entity_name": "OuterEntity", + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::OuterEntity", + "model_name": "OuterEntity", + "name": "OuterEntity", + "organization": "global_organization", + "organization_name": "global_organization", + "parent": [ + "domain", + "NestedModels2" + ], + "possible_errors": { + "data.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.system_fingerprint.cannot_cast", - "path": [ - "system_fingerprint" - ], + "key": "data.cannot_cast", + "processor_class": "Foobara::Value::Processor::Casting", "processor_manifest_data": { "casting": { "cast_to": { - "allow_nil": true, - "type": "string" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "outer_model": { + "type": "NestedModels2::OuterModel" + } + }, + "required": [ + "outer_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "outer_model": { + "type": "NestedModels2::OuterModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::OuterModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "outer_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::OuterEntity", + "model_module": "NestedModels2::Types", + "name": "OuterEntity", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { + } + }, + "primary_key_attribute": "id", + "primary_key_type": { + "type": "integer" + }, + "processors": { + "caster_classes": [ + "Foobara::TypeDeclarations::Handlers::ExtendEntityTypeDeclaration::ToTypeTransformer::EntityPrimaryKeyCaster", + "entity::Casters::Hash" + ], + "transformer_classes": [ + "model::Transformers::Mutable" + ], + "validator_classes": [ + "entity::Validators::AttributesDeclaration" + ] + }, + "reference": "NestedModels2::OuterEntity", + "scoped_category": "type", + "scoped_full_name": "NestedModels2::OuterEntity", + "scoped_full_path": [ + "NestedModels2", + "OuterEntity" + ], + "scoped_name": "OuterEntity", + "scoped_path": [ + "OuterEntity" + ], + "scoped_prefix": null, + "scoped_short_name": "OuterEntity", + "supported_casters": [ + "duck::SupportedCasters::AllowNil" + ], + "supported_validators": [ + "duck::SupportedValidators::OneOf" + ], + "target_classes": [ + "NestedModels2::Types::OuterEntity" + ], + "types_depended_on": [ + "NestedModels2::OuterModel", + "array", + "attributes", + "duck", + "entity", + "integer", + "symbol" + ] + }, + "NestedModels2::OuterModel": { + "attributes_type": { + "element_type_declarations": { + "attr1": { "element_type_declarations": { - "choices": { - "element_type_declaration": { - "type": "Foobara::Ai::Gpt::Choice" - }, - "type": "array" - }, - "created": { - "type": "datetime" - }, - "id": { - "type": "string" - }, - "model": { + "foo": { "type": "string" }, - "object": { - "one_of": [ - "chat.completion" - ], - "type": "string" + "inner_entity": { + "type": "NestedModels2::InnerEntity" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModels2::InnerEntity" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerEntity" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "base_type": "model", + "declaration_data": { + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModels2::InnerEntity" + } }, - "system_fingerprint": { - "allow_nil": true, - "type": "string" + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" + }, + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModels2::InnerEntity" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerEntity" }, - "usage": { - "type": "Foobara::Ai::Gpt::Usage" - } + "type": "array" } }, - "symbol": "unexpected_attributes" + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo" + ], + "type": "attributes" }, - "data.usage.cannot_cast": { + "model_base_class": "Foobara::Model", + "model_class": "NestedModels2::Types::OuterModel", + "model_module": "NestedModels2::Types", + "name": "OuterModel", + "type": "model" + }, + "description": null, + "domain": "NestedModels2", + "domain_name": "NestedModels2", + "model_base_class": "Foobara::Model", + "model_class": "NestedModels2::Types::OuterModel", + "model_name": "OuterModel", + "name": "OuterModel", + "organization": "global_organization", + "organization_name": "global_organization", + "parent": [ + "domain", + "NestedModels2" + ], + "possible_errors": { + "data.attr1.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.usage.cannot_cast", + "key": "data.attr1.cannot_cast", "path": [ - "usage" + "attr1" ], "processor_manifest_data": { "casting": { "cast_to": { - "element_type_declarations": { - "completion_tokens": { - "type": "integer" - }, - "prompt_tokens": { - "type": "integer" + "element_type_declarations": { + "foo": { + "type": "string" }, - "total_tokens": { - "type": "integer" + "inner_entity": { + "type": "NestedModels2::InnerEntity" } }, + "required": [ + "inner_entity", + "foo" + ], "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.usage.completion_tokens.cannot_cast": { + "data.attr1.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.usage.completion_tokens.cannot_cast", + "key": "data.attr1.foo.cannot_cast", "path": [ - "usage", - "completion_tokens" + "attr1", + "foo" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "type": "string" } } }, "symbol": "cannot_cast" }, - "data.usage.prompt_tokens.cannot_cast": { + "data.attr1.foo.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.usage.prompt_tokens.cannot_cast", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.foo.missing_required_attribute", "path": [ - "usage", - "prompt_tokens" + "attr1", + "foo" ], "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "integer" - } - } + "required": [ + "inner_entity", + "foo" + ] }, - "symbol": "cannot_cast" + "symbol": "missing_required_attribute" }, - "data.usage.total_tokens.cannot_cast": { + "data.attr1.inner_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.usage.total_tokens.cannot_cast", + "key": "data.attr1.inner_entity.cannot_cast", "path": [ - "usage", - "total_tokens" + "attr1", + "inner_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModels2::InnerModel" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModels2::InnerModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::InnerEntity", + "model_module": "NestedModels2::Types", + "name": "InnerEntity", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" }, - "data.usage.unexpected_attributes": { + "data.attr1.inner_entity.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.inner_entity.missing_required_attribute", + "path": [ + "attr1", + "inner_entity" + ], + "processor_manifest_data": { + "required": [ + "inner_entity", + "foo" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.attr1.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.attr1.missing_required_attribute", + "path": [ + "attr1" + ], + "processor_manifest_data": { + "pipeline": null + }, + "symbol": "missing_required_attribute" + }, + "data.attr1.unexpected_attributes": { "category": "data", "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.usage.unexpected_attributes", + "key": "data.attr1.unexpected_attributes", "path": [ - "usage" + "attr1" ], "processor_manifest_data": { "element_type_declarations": { - "completion_tokens": { - "type": "integer" - }, - "prompt_tokens": { - "type": "integer" + "foo": { + "type": "string" }, - "total_tokens": { - "type": "integer" + "inner_entity": { + "type": "NestedModels2::InnerEntity" } } }, "symbol": "unexpected_attributes" - } - }, - "processors": { - "caster_classes": [ - "model::Casters::Hash" - ], - "transformer_classes": [ - "model::Transformers::Mutable" - ], - "validator_classes": [ - "model::Validators::AttributesDeclaration" - ] - }, - "reference": "Foobara::Ai::Gpt::Completion", - "scoped_category": "type", - "scoped_full_name": "Foobara::Ai::Gpt::Completion", - "scoped_full_path": [ - "Foobara", - "Ai", - "Gpt", - "Completion" - ], - "scoped_name": "Completion", - "scoped_path": [ - "Completion" - ], - "scoped_prefix": null, - "scoped_short_name": "Completion", - "supported_casters": [ - "duck::SupportedCasters::AllowNil" - ], - "supported_validators": [ - "duck::SupportedValidators::OneOf" - ], - "target_classes": [ - "Foobara::Ai::Gpt::Types::Completion" - ], - "types_depended_on": [ - "Foobara::Ai::Gpt::Choice", - "Foobara::Ai::Gpt::Usage", - "array", - "attributes", - "datetime", - "duck", - "model", - "string", - "symbol" - ] - }, - "Foobara::Ai::Gpt::Message": { - "attributes_type": { - "element_type_declarations": { - "content": { - "type": "string" - }, - "role": { - "one_of": [ - "assistant", - "user", - "system" - ], - "type": "string" - } - }, - "type": "attributes" - }, - "base_type": "model", - "declaration_data": { - "attributes_declaration": { - "element_type_declarations": { - "content": { - "type": "string" - }, - "role": { - "one_of": [ - "assistant", - "user", - "system" - ], - "type": "string" - } - }, - "type": "attributes" }, - "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion::Message", - "model_module": "Foobara::Ai::Gpt::Types::Completion", - "name": "Message", - "type": "model" - }, - "description": null, - "domain": "Foobara::Ai::Gpt", - "domain_name": "Gpt", - "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion::Message", - "model_name": "Message", - "name": "Message", - "organization": "Foobara::Ai", - "organization_name": "Foobara::Ai", - "parent": [ - "domain", - "Foobara::Ai::Gpt" - ], - "possible_errors": { "data.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", @@ -17856,30 +22532,52 @@ "casting": { "cast_to": { "element_type_declarations": { - "content": { - "type": "string" - }, - "role": { - "one_of": [ - "assistant", - "user", - "system" + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModels2::InnerEntity" + } + }, + "required": [ + "inner_entity", + "foo" ], + "type": "attributes" + }, + "foo": { "type": "string" + }, + "inner_entity": { + "type": "NestedModels2::InnerEntity" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerEntity" + }, + "type": "array" } }, + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo" + ], "type": "attributes" } } }, "symbol": "cannot_cast" }, - "data.content.cannot_cast": { + "data.foo.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.content.cannot_cast", + "key": "data.foo.cannot_cast", "path": [ - "content" + "foo" ], "processor_manifest_data": { "casting": { @@ -17890,233 +22588,197 @@ }, "symbol": "cannot_cast" }, - "data.role.cannot_cast": { + "data.foo.missing_required_attribute": { + "category": "data", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.foo.missing_required_attribute", + "path": [ + "foo" + ], + "processor_class": "attributes::SupportedValidators::Required", + "processor_manifest_data": { + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo" + ] + }, + "symbol": "missing_required_attribute" + }, + "data.inner_entity.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.role.cannot_cast", + "key": "data.inner_entity.cannot_cast", "path": [ - "role" + "inner_entity" ], "processor_manifest_data": { "casting": { "cast_to": { - "one_of": [ - "assistant", - "user", - "system" - ], - "type": "string" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModels2::InnerModel" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModels2::InnerModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::InnerEntity", + "model_module": "NestedModels2::Types", + "name": "InnerEntity", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" }, - "data.role.value_not_valid": { + "data.inner_entity.missing_required_attribute": { "category": "data", - "error": "duck::SupportedValidators::OneOf::ValueNotValidError", - "key": "data.role.value_not_valid", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.inner_entity.missing_required_attribute", "path": [ - "role" + "inner_entity" ], + "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { - "one_of": [ - "assistant", - "user", - "system" + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo" ] }, - "symbol": "value_not_valid" - }, - "data.unexpected_attributes": { - "category": "data", - "error": "attributes::SupportedProcessors::ElementTypeDeclarations::UnexpectedAttributesError", - "key": "data.unexpected_attributes", - "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", - "processor_manifest_data": { - "element_type_declarations": { - "content": { - "type": "string" - }, - "role": { - "one_of": [ - "assistant", - "user", - "system" - ], - "type": "string" - } - } - }, - "symbol": "unexpected_attributes" - } - }, - "processors": { - "caster_classes": [ - "model::Casters::Hash" - ], - "transformer_classes": [ - "model::Transformers::Mutable" - ], - "validator_classes": [ - "model::Validators::AttributesDeclaration" - ] - }, - "reference": "Foobara::Ai::Gpt::Message", - "scoped_category": "type", - "scoped_full_name": "Foobara::Ai::Gpt::Message", - "scoped_full_path": [ - "Foobara", - "Ai", - "Gpt", - "Message" - ], - "scoped_name": "Message", - "scoped_path": [ - "Message" - ], - "scoped_prefix": null, - "scoped_short_name": "Message", - "supported_casters": [ - "duck::SupportedCasters::AllowNil" - ], - "supported_validators": [ - "duck::SupportedValidators::OneOf" - ], - "target_classes": [ - "Foobara::Ai::Gpt::Types::Completion::Message" - ], - "types_depended_on": [ - "array", - "attributes", - "duck", - "model", - "string", - "symbol" - ] - }, - "Foobara::Ai::Gpt::Usage": { - "attributes_type": { - "element_type_declarations": { - "completion_tokens": { - "type": "integer" - }, - "prompt_tokens": { - "type": "integer" - }, - "total_tokens": { - "type": "integer" - } - }, - "type": "attributes" - }, - "base_type": "model", - "declaration_data": { - "attributes_declaration": { - "element_type_declarations": { - "completion_tokens": { - "type": "integer" - }, - "prompt_tokens": { - "type": "integer" - }, - "total_tokens": { - "type": "integer" - } - }, - "type": "attributes" + "symbol": "missing_required_attribute" }, - "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion::Usage", - "model_module": "Foobara::Ai::Gpt::Types::Completion", - "name": "Usage", - "type": "model" - }, - "description": null, - "domain": "Foobara::Ai::Gpt", - "domain_name": "Gpt", - "model_base_class": "Foobara::Model", - "model_class": "Foobara::Ai::Gpt::Types::Completion::Usage", - "model_name": "Usage", - "name": "Usage", - "organization": "Foobara::Ai", - "organization_name": "Foobara::Ai", - "parent": [ - "domain", - "Foobara::Ai::Gpt" - ], - "possible_errors": { - "data.cannot_cast": { + "data.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.cannot_cast", - "processor_class": "Foobara::Value::Processor::Casting", - "processor_manifest_data": { - "casting": { - "cast_to": { - "element_type_declarations": { - "completion_tokens": { - "type": "integer" - }, - "prompt_tokens": { - "type": "integer" - }, - "total_tokens": { - "type": "integer" - } - }, - "type": "attributes" - } - } + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.missing_required_attribute", + "processor_class": "Foobara::Value::Processor::Pipeline", + "processor_manifest_data": { + "pipeline": null }, - "symbol": "cannot_cast" + "symbol": "missing_required_attribute" }, - "data.completion_tokens.cannot_cast": { + "data.some_array.#.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.completion_tokens.cannot_cast", + "key": "data.some_array.#.cannot_cast", "path": [ - "completion_tokens" + "some_array", + "#" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "attributes_declaration": { + "element_type_declarations": { + "attr1": { + "element_type_declarations": { + "inner_model": { + "type": "NestedModels2::InnerModel" + } + }, + "required": [ + "inner_model" + ], + "type": "attributes" + }, + "id": { + "type": "integer" + }, + "inner_model": { + "type": "NestedModels2::InnerModel" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerModel" + }, + "type": "array" + } + }, + "required": [ + "attr1", + "some_array", + "inner_model" + ], + "type": "attributes" + }, + "model_base_class": "Foobara::Entity", + "model_class": "NestedModels2::Types::InnerEntity", + "model_module": "NestedModels2::Types", + "name": "InnerEntity", + "primary_key": "id", + "type": "entity" } } }, "symbol": "cannot_cast" }, - "data.prompt_tokens.cannot_cast": { + "data.some_array.cannot_cast": { "category": "data", "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.prompt_tokens.cannot_cast", + "key": "data.some_array.cannot_cast", "path": [ - "prompt_tokens" + "some_array" ], "processor_manifest_data": { "casting": { "cast_to": { - "type": "integer" + "element_type_declaration": { + "type": "NestedModels2::InnerEntity" + }, + "type": "array" } } }, "symbol": "cannot_cast" }, - "data.total_tokens.cannot_cast": { + "data.some_array.missing_required_attribute": { "category": "data", - "error": "Foobara::Value::Processor::Casting::CannotCastError", - "key": "data.total_tokens.cannot_cast", + "error": "attributes::SupportedValidators::Required::MissingRequiredAttributeError", + "key": "data.some_array.missing_required_attribute", "path": [ - "total_tokens" + "some_array" ], + "processor_class": "attributes::SupportedValidators::Required", "processor_manifest_data": { - "casting": { - "cast_to": { - "type": "integer" - } - } + "required": [ + "attr1", + "some_array", + "inner_entity", + "foo" + ] }, - "symbol": "cannot_cast" + "symbol": "missing_required_attribute" }, "data.unexpected_attributes": { "category": "data", @@ -18125,14 +22787,32 @@ "processor_class": "attributes::SupportedProcessors::ElementTypeDeclarations", "processor_manifest_data": { "element_type_declarations": { - "completion_tokens": { - "type": "integer" + "attr1": { + "element_type_declarations": { + "foo": { + "type": "string" + }, + "inner_entity": { + "type": "NestedModels2::InnerEntity" + } + }, + "required": [ + "inner_entity", + "foo" + ], + "type": "attributes" }, - "prompt_tokens": { - "type": "integer" + "foo": { + "type": "string" }, - "total_tokens": { - "type": "integer" + "inner_entity": { + "type": "NestedModels2::InnerEntity" + }, + "some_array": { + "element_type_declaration": { + "type": "NestedModels2::InnerEntity" + }, + "type": "array" } } }, @@ -18150,21 +22830,19 @@ "model::Validators::AttributesDeclaration" ] }, - "reference": "Foobara::Ai::Gpt::Usage", + "reference": "NestedModels2::OuterModel", "scoped_category": "type", - "scoped_full_name": "Foobara::Ai::Gpt::Usage", + "scoped_full_name": "NestedModels2::OuterModel", "scoped_full_path": [ - "Foobara", - "Ai", - "Gpt", - "Usage" + "NestedModels2", + "OuterModel" ], - "scoped_name": "Usage", + "scoped_name": "OuterModel", "scoped_path": [ - "Usage" + "OuterModel" ], "scoped_prefix": null, - "scoped_short_name": "Usage", + "scoped_short_name": "OuterModel", "supported_casters": [ "duck::SupportedCasters::AllowNil" ], @@ -18172,24 +22850,25 @@ "duck::SupportedValidators::OneOf" ], "target_classes": [ - "Foobara::Ai::Gpt::Types::Completion::Usage" + "NestedModels2::Types::OuterModel" ], "types_depended_on": [ + "NestedModels2::InnerEntity", "array", "attributes", "duck", - "integer", "model", + "string", "symbol" ] }, - "NestedModels2::InnerEntity": { + "NestedModels3::InnerEntity": { "attributes_type": { "element_type_declarations": { "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -18201,11 +22880,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -18224,7 +22903,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -18236,11 +22915,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -18253,25 +22932,25 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::InnerEntity", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" }, "description": null, - "domain": "NestedModels2", - "domain_name": "NestedModels2", + "domain": "NestedModels3", + "domain_name": "NestedModels3", "entity_name": "InnerEntity", "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::InnerEntity", + "model_class": "NestedModels3::Types::InnerEntity", "model_name": "InnerEntity", "name": "InnerEntity", "organization": "global_organization", "organization_name": "global_organization", "parent": [ "domain", - "NestedModels2" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -18287,7 +22966,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -18299,11 +22978,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -18316,8 +22995,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::InnerEntity", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -18343,11 +23022,11 @@ "entity::Validators::AttributesDeclaration" ] }, - "reference": "NestedModels2::InnerEntity", + "reference": "NestedModels3::InnerEntity", "scoped_category": "type", - "scoped_full_name": "NestedModels2::InnerEntity", + "scoped_full_name": "NestedModels3::InnerEntity", "scoped_full_path": [ - "NestedModels2", + "NestedModels3", "InnerEntity" ], "scoped_name": "InnerEntity", @@ -18363,10 +23042,10 @@ "duck::SupportedValidators::OneOf" ], "target_classes": [ - "NestedModels2::Types::InnerEntity" + "NestedModels3::Types::InnerEntity" ], "types_depended_on": [ - "NestedModels2::InnerModel", + "NestedModels3::InnerModel", "array", "attributes", "duck", @@ -18375,7 +23054,7 @@ "symbol" ] }, - "NestedModels2::InnerModel": { + "NestedModels3::InnerModel": { "attributes_type": { "element_type_declarations": { "attr1": { @@ -18425,23 +23104,23 @@ "type": "attributes" }, "model_base_class": "Foobara::Model", - "model_class": "NestedModels2::Types::InnerModel", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::InnerModel", + "model_module": "NestedModels3::Types", "name": "InnerModel", "type": "model" }, "description": null, - "domain": "NestedModels2", - "domain_name": "NestedModels2", + "domain": "NestedModels3", + "domain_name": "NestedModels3", "model_base_class": "Foobara::Model", - "model_class": "NestedModels2::Types::InnerModel", + "model_class": "NestedModels3::Types::InnerModel", "model_name": "InnerModel", "name": "InnerModel", "organization": "global_organization", "organization_name": "global_organization", "parent": [ "domain", - "NestedModels2" + "NestedModels3" ], "possible_errors": { "data.attr1.cannot_cast": { @@ -18641,11 +23320,11 @@ "model::Validators::AttributesDeclaration" ] }, - "reference": "NestedModels2::InnerModel", + "reference": "NestedModels3::InnerModel", "scoped_category": "type", - "scoped_full_name": "NestedModels2::InnerModel", + "scoped_full_name": "NestedModels3::InnerModel", "scoped_full_path": [ - "NestedModels2", + "NestedModels3", "InnerModel" ], "scoped_name": "InnerModel", @@ -18661,7 +23340,7 @@ "duck::SupportedValidators::OneOf" ], "target_classes": [ - "NestedModels2::Types::InnerModel" + "NestedModels3::Types::InnerModel" ], "types_depended_on": [ "array", @@ -18672,24 +23351,24 @@ "symbol" ] }, - "NestedModels2::OuterEntity": { + "NestedModels3::OuterEntity": { "associations": { - "attr1.outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", - "attr1.outer_model.inner_entity": "NestedModels2::InnerEntity", - "attr1.outer_model.some_array.#": "NestedModels2::InnerEntity", - "outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", - "outer_model.inner_entity": "NestedModels2::InnerEntity", - "outer_model.some_array.#": "NestedModels2::InnerEntity", - "some_array.#.attr1.inner_entity": "NestedModels2::InnerEntity", - "some_array.#.inner_entity": "NestedModels2::InnerEntity", - "some_array.#.some_array.#": "NestedModels2::InnerEntity" + "attr1.outer_model.attr1.inner_entity": "NestedModels3::InnerEntity", + "attr1.outer_model.inner_entity": "NestedModels3::InnerEntity", + "attr1.outer_model.some_array.#": "NestedModels3::InnerEntity", + "outer_model.attr1.inner_entity": "NestedModels3::InnerEntity", + "outer_model.inner_entity": "NestedModels3::InnerEntity", + "outer_model.some_array.#": "NestedModels3::InnerEntity", + "some_array.#.attr1.inner_entity": "NestedModels3::InnerEntity", + "some_array.#.inner_entity": "NestedModels3::InnerEntity", + "some_array.#.some_array.#": "NestedModels3::InnerEntity" }, "attributes_type": { "element_type_declarations": { "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" } }, "required": [ @@ -18701,11 +23380,11 @@ "type": "integer" }, "outer_model": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" }, "type": "array" } @@ -18724,7 +23403,7 @@ "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" } }, "required": [ @@ -18736,11 +23415,11 @@ "type": "integer" }, "outer_model": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" }, "type": "array" } @@ -18753,42 +23432,42 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::OuterEntity", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", "name": "OuterEntity", "primary_key": "id", "type": "entity" }, "deep_associations": { - "attr1.outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", - "attr1.outer_model.inner_entity": "NestedModels2::InnerEntity", - "attr1.outer_model.some_array.#": "NestedModels2::InnerEntity", - "outer_model.attr1.inner_entity": "NestedModels2::InnerEntity", - "outer_model.inner_entity": "NestedModels2::InnerEntity", - "outer_model.some_array.#": "NestedModels2::InnerEntity", - "some_array.#.attr1.inner_entity": "NestedModels2::InnerEntity", - "some_array.#.inner_entity": "NestedModels2::InnerEntity", - "some_array.#.some_array.#": "NestedModels2::InnerEntity" + "attr1.outer_model.attr1.inner_entity": "NestedModels3::InnerEntity", + "attr1.outer_model.inner_entity": "NestedModels3::InnerEntity", + "attr1.outer_model.some_array.#": "NestedModels3::InnerEntity", + "outer_model.attr1.inner_entity": "NestedModels3::InnerEntity", + "outer_model.inner_entity": "NestedModels3::InnerEntity", + "outer_model.some_array.#": "NestedModels3::InnerEntity", + "some_array.#.attr1.inner_entity": "NestedModels3::InnerEntity", + "some_array.#.inner_entity": "NestedModels3::InnerEntity", + "some_array.#.some_array.#": "NestedModels3::InnerEntity" }, "deep_depends_on": [ - "NestedModels2::InnerEntity" + "NestedModels3::InnerEntity" ], "depends_on": [ - "NestedModels2::InnerEntity" + "NestedModels3::InnerEntity" ], "description": null, - "domain": "NestedModels2", - "domain_name": "NestedModels2", + "domain": "NestedModels3", + "domain_name": "NestedModels3", "entity_name": "OuterEntity", "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::OuterEntity", + "model_class": "NestedModels3::Types::OuterEntity", "model_name": "OuterEntity", "name": "OuterEntity", "organization": "global_organization", "organization_name": "global_organization", "parent": [ "domain", - "NestedModels2" + "NestedModels3" ], "possible_errors": { "data.cannot_cast": { @@ -18804,7 +23483,7 @@ "attr1": { "element_type_declarations": { "outer_model": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" } }, "required": [ @@ -18816,11 +23495,11 @@ "type": "integer" }, "outer_model": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::OuterModel" + "type": "NestedModels3::OuterModel" }, "type": "array" } @@ -18833,8 +23512,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::OuterEntity", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::OuterEntity", + "model_module": "NestedModels3::Types", "name": "OuterEntity", "primary_key": "id", "type": "entity" @@ -18860,11 +23539,11 @@ "entity::Validators::AttributesDeclaration" ] }, - "reference": "NestedModels2::OuterEntity", + "reference": "NestedModels3::OuterEntity", "scoped_category": "type", - "scoped_full_name": "NestedModels2::OuterEntity", + "scoped_full_name": "NestedModels3::OuterEntity", "scoped_full_path": [ - "NestedModels2", + "NestedModels3", "OuterEntity" ], "scoped_name": "OuterEntity", @@ -18880,10 +23559,10 @@ "duck::SupportedValidators::OneOf" ], "target_classes": [ - "NestedModels2::Types::OuterEntity" + "NestedModels3::Types::OuterEntity" ], "types_depended_on": [ - "NestedModels2::OuterModel", + "NestedModels3::OuterModel", "array", "attributes", "duck", @@ -18892,7 +23571,7 @@ "symbol" ] }, - "NestedModels2::OuterModel": { + "NestedModels3::OuterModel": { "attributes_type": { "element_type_declarations": { "attr1": { @@ -18901,7 +23580,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -18914,11 +23593,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -18941,7 +23620,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -18954,11 +23633,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -18972,23 +23651,23 @@ "type": "attributes" }, "model_base_class": "Foobara::Model", - "model_class": "NestedModels2::Types::OuterModel", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::OuterModel", + "model_module": "NestedModels3::Types", "name": "OuterModel", "type": "model" }, "description": null, - "domain": "NestedModels2", - "domain_name": "NestedModels2", + "domain": "NestedModels3", + "domain_name": "NestedModels3", "model_base_class": "Foobara::Model", - "model_class": "NestedModels2::Types::OuterModel", + "model_class": "NestedModels3::Types::OuterModel", "model_name": "OuterModel", "name": "OuterModel", "organization": "global_organization", "organization_name": "global_organization", "parent": [ "domain", - "NestedModels2" + "NestedModels3" ], "possible_errors": { "data.attr1.cannot_cast": { @@ -19006,7 +23685,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -19068,7 +23747,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -19080,11 +23759,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -19097,8 +23776,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::InnerEntity", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -19148,7 +23827,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" } } }, @@ -19169,7 +23848,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -19182,11 +23861,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -19252,7 +23931,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -19264,11 +23943,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -19281,8 +23960,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::InnerEntity", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -19335,7 +24014,7 @@ "attr1": { "element_type_declarations": { "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" } }, "required": [ @@ -19347,11 +24026,11 @@ "type": "integer" }, "inner_model": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerModel" + "type": "NestedModels3::InnerModel" }, "type": "array" } @@ -19364,8 +24043,8 @@ "type": "attributes" }, "model_base_class": "Foobara::Entity", - "model_class": "NestedModels2::Types::InnerEntity", - "model_module": "NestedModels2::Types", + "model_class": "NestedModels3::Types::InnerEntity", + "model_module": "NestedModels3::Types", "name": "InnerEntity", "primary_key": "id", "type": "entity" @@ -19385,7 +24064,7 @@ "casting": { "cast_to": { "element_type_declaration": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -19424,7 +24103,7 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" } }, "required": [ @@ -19437,11 +24116,11 @@ "type": "string" }, "inner_entity": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "some_array": { "element_type_declaration": { - "type": "NestedModels2::InnerEntity" + "type": "NestedModels3::InnerEntity" }, "type": "array" } @@ -19461,11 +24140,11 @@ "model::Validators::AttributesDeclaration" ] }, - "reference": "NestedModels2::OuterModel", + "reference": "NestedModels3::OuterModel", "scoped_category": "type", - "scoped_full_name": "NestedModels2::OuterModel", + "scoped_full_name": "NestedModels3::OuterModel", "scoped_full_path": [ - "NestedModels2", + "NestedModels3", "OuterModel" ], "scoped_name": "OuterModel", @@ -19481,10 +24160,10 @@ "duck::SupportedValidators::OneOf" ], "target_classes": [ - "NestedModels2::Types::OuterModel" + "NestedModels3::Types::OuterModel" ], "types_depended_on": [ - "NestedModels2::InnerEntity", + "NestedModels3::InnerEntity", "array", "attributes", "duck",