# CONTENT # # This is the main schema for all types of content object! # Version 2 - 2017-12-20 # ---------------------------------------------------------------------------------------------------------------------- # A list of default types for use in this schema _types: # --- Types ----------------------------------------------------- # unformatted text simpletext: &simpletext filter: PlainExt options: {characterset: 15, characters: "'\"&#/@;"} # datetime values datetime: &datetime filter: DateTime options: {format: "c"} properties: uid: filter: PlainExt options: {characterset: 1, characters: "._-:"} required: true strict: true core: required: true properties: # TODO: Check for other symbols as well imageId: filter: PlainExt options: {characterset: 1, characters: "._-:/"} required: true checksum: filter: PlainExt required: true strict: true url: filter: Url options: {type: absolute} required: true strict: true date: <<: *datetime strict: true meta: properties: title: <<: *simpletext description: <<: *simpletext copyright: <<: *simpletext required: false # TODO: Find out if we need this as required alt: <<: *simpletext default: false tags: listing: key: filter: Plain value: filter: PlainExt options: {characterset: 15, characters: "&", type: array} default: []