{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Provider",
    "description": "Name of the provider",
    "type": "array",
    "items": {
        "oneOf": [
            {
                "$ref": "#/definitions/path"
            },
            {
                "$ref": "#/definitions/inheritance"
            }
        ]
    },
    "definitions": {
        "path": {
            "description": "Path to the artifact",
            "type": "string",
            "value": "null"
        },
        "inheritance": {
            "type": "object",
            "properties": {
                "inherit": {
                    "name": "inherit",
                    "description": "List of components whose artifacts will be added to the list of artifacts for the provider.",
                    "type": "array"
                }
            }
        }
    }
}