aac.plugins.root_schema_must_have_name

__init__.py module for the Root schema must have name plugin.

Functions

register_plugin()

Returns information about the plugin.

run_root_schema_has_name(instance, ...)

Check every schema with a root key and ensure there is a field called name.

aac.plugins.root_schema_must_have_name.register_plugin() None[source]

Returns information about the plugin.

Returns:

A collection of information about the plugin and what it contributes.

Return type:

None

aac.plugins.root_schema_must_have_name.run_root_schema_has_name(instance: Any, definition: Definition, defining_schema, arguments: Any) ExecutionResult[source]

Check every schema with a root key and ensure there is a field called name.

Parameters:
  • instance (Any)

  • definition (Definition)

  • arguments (Any)

Return type:

ExecutionResult

Modules

root_schema_must_have_name_impl

The AaC Root schema must have name plugin implementation module.