activitypub-1.0.x-dev/config/schema/activitypub.schema.yml
config/schema/activitypub.schema.yml
# schema for activitypub type config
activitypub.activitypub_type.*:
type: config_entity
label: ActivityPub type
mapping:
id:
type: string
label: ID
label:
type: label
label: Label
description:
type: text
label: Description
uuid:
type: string
locked:
type: boolean
plugin:
type: mapping
label: 'Type plugin'
mapping:
id:
type: string
label: 'Plugin ID'
configuration:
type: activitypub.plugin.configuration.[%parent.id]
label: 'Plugin configuration'
# Default schema for unknown type.
activitypub.plugin.configuration.*:
type: activitypub.plugin.default_configuration
# Default config schema that all type plugins can extend.
activitypub.plugin.default_configuration:
type: mapping
label: 'Default type configuration'
mapping:
activity:
type: string
label: ActivityPub activity
# Config schema for dynamic type.
activitypub.plugin.configuration.activitypub_dynamic_types:
type: activitypub.plugin.default_configuration
label: 'Dynamic types configuration'
mapping:
target_entity_type_id:
type: string
label: Entity type ID
target_bundle:
type: string
label: Bundle
object:
type: string
label: ActivityPub object
field_mapping:
type: sequence
sequence:
type: mapping
mapping:
field_name:
type: string
property:
type: string
# Config schema for comment type.
activitypub.plugin.configuration.activitypub_comment:
type: activitypub.plugin.default_configuration
label: 'Comment configuration'
mapping:
comment_type:
type: string
label: Comment type
comment_body_field:
type: string
label: Comment body
activity_reference_field:
type: string
label: Activity reference field name
node_comment_field:
type: string
label: Node comment field name
comment_status:
type: boolean
label: Default comment status
comment_filter_format:
type: string
label: The comment filter format
# schema for activitypub.settings
activitypub.settings:
type: config_object
label: 'ActivityPub'
mapping:
avatar_user_style:
type: string
label: 'Avatar image style'
avatar_user_field:
type: string
label: 'Avatar user field'
header_user_field:
type: string
label: 'Header user field'
header_user_style:
type: string
label: 'Header image style'
avatar_default_path:
type: string
label: 'Default avatar path'
attachment_content_style:
type: string
label: 'Attachment content image style'
site_wide_uid:
type: integer
label: 'Site-wide user'
process_outbox_handler:
type: string
label: 'Process outbox handler'
process_inbox_handler:
type: string
label: 'Process inbox handler'
inbox_remove_x_days_handler:
type: string
label: 'Remove old activities handler'
inbox_remove_x_days:
type: integer
label: 'Remove activities after x days'
inbox_remove_x_days_keep_unread:
type: boolean
label: 'Keep unread items'
filter_format:
type: string
label: 'The filter format used for content and summaries'
cache_images:
type: boolean
label: 'Cache images locally'
cache_avatar_style:
type: string
label: 'Cache Avatar style'
cache_attachment_style:
type: string
label: 'Cache attachment image style'
log_unsaved_inbox_activity:
type: boolean
label: 'Log unsaved inbox activity'
log_general_inbox_error:
type: boolean
label: 'Log general inbox error'
log_error_signature:
type: boolean
label: 'Log error signature'
log_ignore_error_signature:
type: boolean
label: 'Ignore error signature'
log_success_signature:
type: boolean
label: 'Log success signature'
log_followee_check:
type: boolean
label: 'Log followee check'
# schema for activitypub_activity_delete_action
action.configuration.activitypub_activity_delete_action:
type: action_configuration_default
