view modules/contrib/migrate_plus/config/schema/migrate_plus.source.schema.yml @ 9:1fc0ff908d1f

Add another data file
author Chris Cannam
date Mon, 05 Feb 2018 12:34:32 +0000
parents 4c8ae668cc8c
children
line wrap: on
line source
# Schema for the migrate source plugins.

migrate_plus.source.*:
  type: migrate_source
  label: 'Default source'

migrate_plus.source.empty:
  type: migrate_source_sql
  label: 'Empty source'
  mapping:
    provider:
      type: string
      label: 'Provider'

migrate_plus.source.embedded_data:
  type: migrate_source
  label: 'Embedded data source'
  mapping:
    data_rows:
      type: sequence
      label: 'Data rows'
      sequence:
        type: ignore
        label: 'Data row'
    ids:
      type: sequence
      label: 'Unique key'
      sequence:
        type: mapping
        label: 'Key column'
        mapping:
          type:
            type: string
            label: 'Column type'