diff --git a/core/modules/migrate/config/schema/migrate.data_types.schema.yml b/core/modules/migrate/config/schema/migrate.data_types.schema.yml new file mode 100644 index 0000000..18ae096 --- /dev/null +++ b/core/modules/migrate/config/schema/migrate.data_types.schema.yml @@ -0,0 +1,22 @@ +# Basic data types for Migrate. + +migrate_plugin: + type: mapping + mapping: + plugin: + type: string + label: 'Plugin' + +migrate_process: + type: sequence + label: 'Process' + sequence: + - type: string + +migrate_destination: + type: migrate_plugin + label: 'Destination' + +migrate_source: + type: migrate_plugin + label: 'Source' diff --git a/core/modules/migrate/config/schema/migrate.destination.schema.yml b/core/modules/migrate/config/schema/migrate.destination.schema.yml new file mode 100644 index 0000000..cf1ce1c --- /dev/null +++ b/core/modules/migrate/config/schema/migrate.destination.schema.yml @@ -0,0 +1,46 @@ +# Schema for the migrate destination plugins. + +migrate.destination.*: + type: migrate_destination + label: 'Default destination' + +migrate.destination.config: + type: mapping + label: 'Config' + mapping: + config_name: + type: string + label: 'Configuration name' + +#"migrate.destination.entity:user": +# type: migrate_destination +# label: 'Drupal 6 user' +# +# +#"migrate.destination.entity:aggregator_feed": +# type: migrate_destination +# label: 'Drupal 6 aggregator feed' +# +#"migrate.destination.entity:aggregator_item": +# type: migrate_destination +# label: 'Drupal 6 aggregator item' +# +#"migrate.destination.entity:block": +# type: migrate_destination +# label: 'Drupal 6 block' +# +#migrate.destination.book: +# type: migrate_destination +# label: 'Drupal 6 book' +# +#entity_revision:node +#entity:node +#entity:comment +#component_entity_display +#component_entity_form_display +#entity:field_config +#entity:field_instance_config +#entity:contact_category +#contact.settings +#entity:custom_block +#entity:date_format \ No newline at end of file diff --git a/core/modules/migrate/config/schema/migrate.process.schema.yml b/core/modules/migrate/config/schema/migrate.process.schema.yml new file mode 100644 index 0000000..f76ae6f --- /dev/null +++ b/core/modules/migrate/config/schema/migrate.process.schema.yml @@ -0,0 +1,5 @@ +# Schema for the migrate process plugins. + +migrate.process.*: + type: migrate_process + label: 'Default process' diff --git a/core/modules/migrate/config/schema/migrate.schema.yml b/core/modules/migrate/config/schema/migrate.schema.yml new file mode 100644 index 0000000..191194d --- /dev/null +++ b/core/modules/migrate/config/schema/migrate.schema.yml @@ -0,0 +1,37 @@ +# Schema for the configuration files of the Migrate module. + +migrate.migration.*: + type: mapping + label: 'Migration' + mapping: + id: + type: string + lable: 'ID' + label: + type: label + label: 'Label' + source: + type: migrate.source.[plugin] + label: 'Source' + process: + type: ignore + label: 'Process' + destination: + type: migrate.destination.[plugin] + label: 'Destination' + migration_dependencies: + type: mapping + label: 'Dependencies' + mapping: + required: + type: sequence + label: 'Required dependencies' + sequence: + - type: strting + label: 'Dependency' + optional: + type: sequence + label: 'Optional dependencies' + sequence: + - type: strting + label: 'Dependency' diff --git a/core/modules/migrate/config/schema/migrate.source.schema.yml b/core/modules/migrate/config/schema/migrate.source.schema.yml new file mode 100644 index 0000000..d13b708 --- /dev/null +++ b/core/modules/migrate/config/schema/migrate.source.schema.yml @@ -0,0 +1,108 @@ +# Schema for the migrate source plugins. + +migrate.source.*: + type: migrate_source + label: 'Default source' + +migrate.source.variable: + type: mapping + label: 'Variable' + mapping: + variables: + type: sequence + label: 'Variables' + sequence: + - type: string + label: 'Variable' + +migrate.source.d6_comment: + type: migrate_source + label: 'Drupal 6 book' + mapping: + constants: + type: mapping + label: 'Constants' + mapping: + field_id: + type: string + label: 'Field ID' + entity_type: + type: string + label: 'Entity type' + +migrate.source.d6_comment_variable: + type: migrate_source + label: 'Drupal 6 book' + mapping: + constants: + type: mapping + label: 'Constants' + mapping: + entity_type: + type: string + label: 'Entity type' + field_name: + type: string + label: 'Entity type' + view_mode: + type: string + label: 'Entity type' + options: + type: sequence + label: 'Options' + sequence: + - type: string + label: 'Option' + type: + type: string + label: 'Type' + id: + type: string + label: 'ID' + name: + type: label + label: 'Name' +# +#migrate.source.d6_user: +# type: migrate_source +# label: 'Drupal 6 user' +# +#migrate.source.d6_aggregator_feed: +# type: migrate_source +# label: 'Drupal 6 aggregator feed' +# +#migrate.source.d6_aggregator_item: +# type: migrate_source +# label: 'Drupal 6 aggregator item' +# +#migrate.source.d6_block: +# type: migrate_source +# label: 'Drupal 6 block' +# +#migrate.source.d6_book: +# type: migrate_source +# label: 'Drupal 6 book' +# +#migrate.source.variable_multirow: +# type: migrate.source.variable +# label: 'Variable multiple row' +# +#migrate.source.d6_cck_field_revision: +# type: migrate.source.variable +# label: 'Variable multiple row' +# +#migrate.source.drupal_entity: +# type: migrate.source.variable +# label: 'Variable multiple row' +# +#migrate.source.d6_field: +# type: migrate.source.variable +# label: 'Variable multiple row' +# +#migrate.source.d6_field_instance: +# type: migrate.source.variable +# label: 'Variable multiple row' +# +#migrate.source.d6_field_instance_per_form_display: +# type: migrate.source.variable +# label: 'Variable multiple row'