# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
# SPDX-License-Identifier: GPL-3.0-or-later
---
$schema: https://json-schema.org/schema#
$id: https://calamares.io/schemas/unpackfsc
additionalProperties: false
type: object
properties:
    unpack:
        type: array
        items:
            type: object
            additionalProperties: false
            properties:
                source: { type: string }
                sourcefs: { type: string }
                destination: { type: string }
                condition:
                    anyOf:
                      - type: boolean
                      - type: string
            required: [ source , sourcefs, destination ]
