Skip to content

Instantly share code, notes, and snippets.

@arildm
Created March 26, 2015 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arildm/297e66cf0314fdd9934a to your computer and use it in GitHub Desktop.
Save arildm/297e66cf0314fdd9934a to your computer and use it in GitHub Desktop.
Captured user schema config with stored property definitions
uuid: 63a6d9e3-c8fb-4401-9100-e547486ee3b4
langcode: en
status: true
dependencies: { }
id: user
label: User
uri_pattern: 'http://schema.md-systems.ch/collect/0.0.1/collectjson/d8.dev/entity/user'
plugin_id: collectjson
locked: false
container_revision: true
properties:
uid:
type: list
label: 'User ID'
description: 'The user ID.'
item_definition:
type: 'field_item:integer'
label: ''
description: ''
properties:
value:
type: integer
label: 'Integer value'
description: ''
uuid:
type: list
label: UUID
description: 'The user UUID.'
item_definition:
type: 'field_item:uuid'
label: ''
description: ''
properties:
value:
type: string
label: 'Text value'
description: ''
langcode:
type: list
label: 'Language code'
description: 'The user language code.'
item_definition:
type: 'field_item:language'
label: ''
description: ''
properties:
value:
type: string
label: 'Language code'
description: ''
language:
type: language_reference
label: 'Language object'
description: 'The referenced language'
preferred_langcode:
type: list
label: 'Preferred language code'
description: 'The user''s preferred language code for receiving emails and viewing the site.'
item_definition:
type: 'field_item:language'
label: ''
description: ''
properties:
value:
type: string
label: 'Language code'
description: ''
language:
type: language_reference
label: 'Language object'
description: 'The referenced language'
preferred_admin_langcode:
type: list
label: 'Preferred admin language code'
description: 'The user''s preferred language code for viewing administration pages.'
item_definition:
type: 'field_item:language'
label: ''
description: ''
properties:
value:
type: string
label: 'Language code'
description: ''
language:
type: language_reference
label: 'Language object'
description: 'The referenced language'
name:
type: list
label: Name
description: 'The name of this user.'
item_definition:
type: 'field_item:string'
label: ''
description: ''
properties:
value:
type: string
label: 'Text value'
description: ''
pass:
type: list
label: Password
description: 'The password of this user (hashed).'
item_definition:
type: 'field_item:password'
label: ''
description: ''
properties:
value:
type: string
label: 'Text value'
description: ''
mail:
type: list
label: Email
description: 'The email of this user.'
item_definition:
type: 'field_item:email'
label: ''
description: ''
properties:
value:
type: email
label: E-mail
description: ''
signature:
type: list
label: Signature
description: 'The signature of this user.'
item_definition:
type: 'field_item:string'
label: ''
description: ''
properties:
value:
type: string
label: 'Text value'
description: ''
signature_format:
type: list
label: 'Signature format'
description: 'The signature format of this user.'
item_definition:
type: 'field_item:string'
label: ''
description: ''
properties:
value:
type: string
label: 'Text value'
description: ''
timezone:
type: list
label: Timezone
description: 'The timezone of this user.'
item_definition:
type: 'field_item:string'
label: ''
description: ''
properties:
value:
type: string
label: 'Text value'
description: ''
status:
type: list
label: 'User status'
description: 'Whether the user is active or blocked.'
item_definition:
type: 'field_item:boolean'
label: ''
description: ''
properties:
value:
type: boolean
label: 'Boolean value'
description: ''
created:
type: list
label: Created
description: 'The time that the user was created.'
item_definition:
type: 'field_item:created'
label: ''
description: ''
properties:
value:
type: timestamp
label: 'Timestamp value'
description: ''
changed:
type: list
label: Changed
description: 'The time that the user was last edited.'
item_definition:
type: 'field_item:changed'
label: ''
description: ''
properties:
value:
type: timestamp
label: 'Timestamp value'
description: ''
access:
type: list
label: 'Last access'
description: 'The time that the user last accessed the site.'
item_definition:
type: 'field_item:timestamp'
label: ''
description: ''
properties:
value:
type: timestamp
label: 'Timestamp value'
description: ''
login:
type: list
label: 'Last login'
description: 'The time that the user last logged in.'
item_definition:
type: 'field_item:timestamp'
label: ''
description: ''
properties:
value:
type: timestamp
label: 'Timestamp value'
description: ''
init:
type: list
label: 'Initial email'
description: 'The email address used for initial account creation.'
item_definition:
type: 'field_item:email'
label: ''
description: ''
properties:
value:
type: email
label: E-mail
description: ''
roles:
type: list
label: Roles
description: 'The roles the user has.'
item_definition:
type: 'field_item:entity_reference'
label: ''
description: ''
properties:
target_id:
type: integer
label: '@label ID'
description: ''
entity:
type: entity_reference
label: Content
description: 'The referenced entity'
default_langcode:
type: list
label: 'Default translation'
description: 'A flag indicating whether this is the default translation.'
item_definition:
type: 'field_item:boolean'
label: ''
description: ''
properties:
value:
type: boolean
label: 'Boolean value'
description: ''
user_picture:
type: list
label: Picture
description: 'Your virtual face or picture.'
item_definition:
type: 'field_item:image'
label: ''
description: ''
properties:
target_id:
type: integer
label: '@label ID'
description: ''
entity:
type: entity_reference
label: File
description: 'The referenced entity'
display:
type: boolean
label: Display
description: 'Flag to control whether this file should be displayed when viewing content'
description:
type: string
label: Description
description: ''
alt:
type: string
label: 'Alternative text'
description: 'Alternative image text, for the image''s ''alt'' attribute.'
title:
type: string
label: Title
description: 'Image title text, for the image''s ''title'' attribute.'
width:
type: integer
label: Width
description: 'The width of the image in pixels.'
height:
type: integer
label: Height
description: 'The height of the image in pixels.'
processors:
-
weight: -10
settings:
relation: f
contact_type: individual
fields:
name: name
plugin_id: contact_matcher
-
weight: -9
settings:
title_property: name
plugin_id: activity_creator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment