{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "atomic-reactor user params",
    "type": [
        "object",
        "null"
    ],
    "properties": {
        "additional_tags": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "arrangement_version": {
            "type": "integer"
        },
        "base_image": {
            "type": "string"
        },
        "build_from": {
            "type": "string"
        },
        "build_image": {
            "type": "string"
        },
        "build_imagestream": {
            "type": "string"
        },
        "build_json_dir": {
            "type": "string"
        },
        "build_type": {
            "enum": [
                "orchestrator",
                "worker"
            ]
        },
        "component": {
            "type": "string"
        },
        "compose_ids": {
            "type": "array",
            "items": {
                "type": "integer"
            }
        },
        "customize_conf": {
            "type": "string"
        },
        "filesystem_koji_task_id": {
            "type": "integer"
        },
        "flatpak": {
            "type": "boolean"
        },
        "git_branch": {
            "type": "string"
        },
        "git_commit_depth": {
            "type": "integer"
        },
        "git_ref": {
            "type": "string"
        },
        "git_uri": {
            "type": "string"
        },
        "image_tag": {
            "type": "string"
        },
        "imagestream_name": {
            "type": "string"
        },
        "isolated": {
            "type": "boolean"
        },
        "kind": {
            "type": "string"
        },
        "koji_parent_build": {
            "type": "string"
        },
        "koji_target": {
            "type": "string"
        },
        "koji_task_id": {
            "type": "integer"
        },
        "koji_upload_dir": {
            "type": "string"
        },
        "name": {
            "type": "string"
        },
        "parent_images_digests": {
            "type": "object",
            "patternProperties": {
                "^.+:.+$": {
                    "description": "Image with tags",
                    "type": "object",
                    "patternProperties": {
                        "^application/.*json$": {
                            "description": "Manifest digest",
                            "type": "string",
                            "pattern": "^sha256:.+"
                        }
                    },
                    "_uniqueItems": true,
                    "additionalProperties": false
                }
            },
            "_uniqueItems": true,
            "additionalProperties": false
        },
        "operator_bundle_replacement_pullspecs": {
            "type": "object",
            "patternProperties": {
                ".*": {
                    "type": "string"
                }
            }
        },
        "operator_manifests_extract_platform": {
            "type": "string"
        },
        "orchestrator_deadline": {
            "type": "integer"
        },
        "platform": {
            "type": "string"
        },
        "platforms": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "reactor_config_map": {
            "type": "string"
        },
        "reactor_config_override": {
            "type": "object"
        },
        "release": {
            "type": "string"
        },
        "scratch": {
            "type": "boolean"
        },
        "signing_intent": {
            "type": "string"
        },
        "tags_from_yaml": {
            "type": "boolean"
        },
        "trigger_imagestreamtag": {
            "type": "string"
        },
        "triggered_after_koji_task": {
            "type": "integer"
        },
        "user": {
            "type": "string"
        },
        "worker_deadline": {
            "type": "integer"
        },
        "yum_repourls": {
            "type": "array",
            "items": {
                "type": "string"
            }
        }
    },
    "required": [
        "build_json_dir",
        "build_type",
        "git_ref",
        "git_uri",
        "user"
    ]
}