### `menuType` must be added manually
#plugin.tx_rest.settings.virtualObjects.content.mapping.properties {
#    menuType {
#        column = menu_type
#        type = string
#    }
#}

plugin.tx_rest.settings {
    paths {
        virtual_object-content {
            path = virtual_object-content
            read = deny
            write = deny
        }
    }

    aliases {
        #    content = virtual_object-content
    }

    virtualObjects {
        content {
            mapping {
                identifier = id
                tableName = tt_content
                skipUnknownProperties = true

                properties {
                    id {
                        column = uid
                        type = int
                    }

                    pageIdentifier {
                        column = pid
                        type = int
                    }

                    modificationDate {
                        column = tstamp
                        type = int
                    }

                    creationDate {
                        column = crdate
                        type = int
                    }

                    creationUserId {
                        column = cruser_id
                        type = int
                    }

                    hidden {
                        column = hidden
                        type = bool
                    }

                    sorting {
                        column = sorting
                        type = int
                    }

                    type {
                        column = CType
                        type = string
                    }

                    header {
                        column = header
                        type = string
                    }

                    bodytext {
                        column = bodytext
                        type = string
                    }

                    image {
                        column = image
                        type = string
                    }

                    imageWidth {
                        column = imagewidth
                        type = int
                    }

                    imageOrientation {
                        column = imageorient
                        type = int
                    }

                    imageColumns {
                        column = imagecols
                        type = int
                    }

                    imageBorder {
                        column = imageborder
                        type = int
                    }

                    media {
                        column = media
                        type = string
                    }

                    layout {
                        column = layout
                        type = int
                    }

                    deleted {
                        column = deleted
                        type = boolean
                    }

                    columns {
                        column = cols
                        type = int
                    }

                    records {
                        column = records
                        type = string
                    }

                    pages {
                        column = pages
                        type = string
                    }

                    startTime {
                        column = starttime
                        type = int
                    }

                    endTime {
                        column = endtime
                        type = int
                    }

                    colPos {
                        column = colPos
                        type = int
                    }

                    subheader {
                        column = subheader
                        type = string
                    }

                    feGroup {
                        column = fe_group
                        type = string
                    }

                    headerLink {
                        column = header_link
                        type = string
                    }

                    imageZoom {
                        column = image_zoom
                        type = integer
                    }

                    headerLayout {
                        column = header_layout
                        type = string
                    }

                    listType {
                        column = list_type
                        type = string
                    }

                    sectionIndex {
                        column = sectionIndex
                        type = int
                    }

                    linkToTop {
                        column = linkToTop
                        type = bool
                    }

                    fileLinkSize {
                        column = filelink_size
                        type = int
                    }

                    target {
                        column = target
                        type = string
                    }

                    date {
                        column = date
                        type = int
                    }

                    recursive {
                        column = recursive
                        type = int
                    }

                    imageHeight {
                        column = imageheight
                        type = int
                    }

                    systemLanguageUid {
                        column = sys_language_uid
                        type = int
                    }

                    flexform {
                        column = pi_flexform
                        type = string
                    }

                    accessibilityTitle {
                        column = accessibility_title
                        type = string
                    }

                    accessibilityBypass {
                        column = accessibility_bypass
                        type = string
                    }

                    accessibilityBypassText {
                        column = accessibility_bypass_text
                        type = string
                    }

                    l18nParent {
                        column = l18n_parent
                        type = int
                    }
                }
            }
        }
    }
}
