##
# Copyright (c) 2011-2012 Sprymix Inc.
# All rights reserved.
#
# See LICENSE for details.
##


%SCHEMA metamagic.caos.backends.yaml.schemas.Semantics
%IMPORT metamagic.utils.fs.file AS file
---
links:
    derivatives:
        properties:
            name: str


concepts:
    Image:
        extends: file.File

        links:
            derivatives:
                Image:
                    mapping: "1*"


    ImageContainer:
        abstract: True

        links:
            images:
                Image:
                    mapping: "**"


    Video:
        extends: file.File

##
# Copyright (c) 2011-2013 Sprymix Inc.
# All rights reserved.
#
# See LICENSE for details.
##


%SCHEMA metamagic.caos.backends.yaml.schemas.Semantics
%IMPORT metamagic.utils.fs.file AS file
---
concepts:
    Image:
        extends: file.File


    ImageContainer:
        abstract: True

        links:
            images:
                Image:
                    mapping: "**"


    Video:
        extends: file.File

Drop obsolete Image.derivatives in favour of File.derivatives
utils.fs.media: Drop obsolete Image.derivatives in favour of File.derivatives
