{
    "description": "Describe information needed for deposit module.",
    "properties": {
        "analysis_steps": {
            "default": [
                {}
            ],
            "items": {
                "properties": {
                    "code": {
                        "default": [
                            {}
                        ],
                        "items": {
                            "properties": {
                                "lhcb_code": {
                                    "title": "Application",
                                    "type": "string"
                                },
                                "platform": {
                                    "title": "Platform",
                                    "type": "string"
                                },
                                "user_code": {
                                    "properties": {
                                        "description": {
                                            "title": "Description",
                                            "type": "string"
                                        },
                                        "instructions": {
                                            "title": "Instructions",
                                            "type": "string"
                                        },
                                        "link": {
                                            "title": "URL",
                                            "type": "string"
                                        }
                                    },
                                    "title": "User code",
                                    "type": "object"
                                }
                            },
                            "type": "object"
                        },
                        "title": "Code",
                        "type": "array"
                    },
                    "input_data": {
                        "properties": {
                            "data": {
                                "items": {
                                    "properties": {
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                },
                                "title": "Collision Data",
                                "type": "array"
                            },
                            "mc_data": {
                                "items": {
                                    "properties": {
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                },
                                "title": "MC Data",
                                "type": "array"
                            }
                        },
                        "title": "Input Data",
                        "type": "object"
                    },
                    "output_data": {
                        "properties": {
                            "data": {
                                "items": {
                                    "properties": {
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                },
                                "title": "Collision Data",
                                "type": "array"
                            },
                            "mc_data": {
                                "items": {
                                    "properties": {
                                        "name": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                },
                                "title": "MC Data",
                                "type": "array"
                            }
                        },
                        "title": "Output Data",
                        "type": "object"
                    }
                },
                "title": "Analysis Step",
                "type": "object"
            },
            "title": "Analysis Steps",
            "type": "array"
        },
        "basic_info": {
            "_id": "basic_info",
            "dependencies": {
                "status_notes": [
                    "status"
                ]
            },
            "properties": {
                "analysis_name": {
                    "title": "Analysis Name",
                    "type": "string"
                },
                "egroup": {
                    "title": "Review eGroup",
                    "type": "string"
                },
                "institutes": {
                    "title": "Institutes Involved",
                    "type": "string"
                },
                "keywords": {
                    "_id": "keywords",
                    "description": "Add keywords here",
                    "title": "Keywords",
                    "type": "string"
                },
                "proponents": {
                    "title": "Proponents",
                    "type": "string"
                },
                "reviewers": {
                    "title": "Reviewers",
                    "type": "string"
                },
                "status": {
                    "enum": [
                        "0 - planned / open topic",
                        "1 - in preparation",
                        "2 - ANA note released",
                        "3 - review committee",
                        "4 - collaboration review",
                        "5 -",
                        "6 - CONF note published",
                        "7 -",
                        "8 - journal review",
                        "9 - PAPER published",
                        "x - other"
                    ],
                    "title": "Status",
                    "type": "string"
                },
                "status_notes": {
                    "title": "Notes on Status",
                    "type": "string"
                }
            },
            "required": [
                "analysis_name",
                "proponents",
                "status"
            ],
            "title": "Basic Information",
            "type": "object"
        },
        "documentations": {
            "_id": "documentations",
            "items": {
                "_$schema": "http://json-schema.org/draft-04/schema#",
                "description": "Add documentation",
                "properties": {
                    "comment": {
                        "title": "Comment",
                        "type": "string"
                    },
                    "keyword": {
                        "title": "Keyword",
                        "type": "string"
                    },
                    "url": {
                        "title": "URL",
                        "type": "string"
                    }
                },
                "title": "Documentation",
                "type": "object"
            },
            "title": "Documentations",
            "type": "array"
        },
        "dst_selection": {
            "properties": {
                "code": {
                    "properties": {
                        "lhcb_code": {
                            "title": "Application",
                            "type": "string"
                        },
                        "platform": {
                            "title": "Platform",
                            "type": "string"
                        },
                        "user_code": {
                            "items": {
                                "properties": {
                                    "description": {
                                        "title": "Description",
                                        "type": "string"
                                    },
                                    "instructions": {
                                        "title": "Instructions",
                                        "type": "string"
                                    },
                                    "link": {
                                        "title": "URL",
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            },
                            "title": "User code",
                            "type": "array"
                        }
                    },
                    "title": "Code",
                    "type": "object"
                },
                "input_data": {
                    "properties": {
                        "data": {
                            "items": {
                                "properties": {
                                    "location": {
                                        "title": "Sample",
                                        "type": "string"
                                    },
                                    "processing_pass": {
                                        "title": "Processing Pass",
                                        "type": "string"
                                    },
                                    "reconstruction_software": {
                                        "properties": {
                                            "reconstruction_software_name": {
                                                "title": "Name",
                                                "type": "string"
                                            },
                                            "reconstruction_software_version": {
                                                "title": "Version",
                                                "type": "string"
                                            }
                                        },
                                        "title": "Reconstruction software",
                                        "type": "object"
                                    },
                                    "stripping_software": {
                                        "properties": {
                                            "stripping_software_name": {
                                                "title": "Name",
                                                "type": "string"
                                            },
                                            "stripping_software_version": {
                                                "title": "Version",
                                                "type": "string"
                                            }
                                        },
                                        "title": "Stripping software",
                                        "type": "object"
                                    },
                                    "year": {
                                        "title": "Year",
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            },
                            "title": "Collision Data",
                            "type": "array"
                        },
                        "mc_data": {
                            "items": {
                                "properties": {
                                    "db_tags": {
                                        "enum": [
                                            "DDDB",
                                            "SIMCOND"
                                        ],
                                        "title": "Database Tags",
                                        "type": "string"
                                    },
                                    "generator": {
                                        "title": "Generator",
                                        "type": "string"
                                    },
                                    "location": {
                                        "title": "Sample",
                                        "type": "string"
                                    },
                                    "mc_production": {
                                        "title": "Production",
                                        "type": "number"
                                    },
                                    "reconstruction_software": {
                                        "properties": {
                                            "reconstruction_software_name": {
                                                "title": "Name",
                                                "type": "string"
                                            },
                                            "reconstruction_software_version": {
                                                "title": "Version",
                                                "type": "string"
                                            }
                                        },
                                        "title": "Reconstruction software",
                                        "type": "object"
                                    },
                                    "stripping_software": {
                                        "properties": {
                                            "stripping_software_name": {
                                                "title": "Name",
                                                "type": "string"
                                            },
                                            "stripping_software_version": {
                                                "title": "Version",
                                                "type": "string"
                                            }
                                        },
                                        "title": "Stripping software",
                                        "type": "object"
                                    },
                                    "used_tools": {
                                        "title": "Used Tools",
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            },
                            "title": "MC Data",
                            "type": "array"
                        }
                    },
                    "title": "Input Data",
                    "type": "object"
                },
                "output_data": {
                    "properties": {
                        "data": {
                            "items": {
                                "properties": {
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            },
                            "title": "Collision Data",
                            "type": "array"
                        },
                        "mc_data": {
                            "items": {
                                "properties": {
                                    "name": {
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            },
                            "title": "MC Data",
                            "type": "array"
                        }
                    },
                    "title": "Output Data",
                    "type": "object"
                },
                "stripping_line": {
                    "items": {
                        "properties": {
                            "name": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    },
                    "title": "Stripping Line",
                    "type": "array"
                },
                "trigger": {
                    "items": {
                        "properties": {
                            "name": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    },
                    "title": "Trigger",
                    "type": "array"
                }
            },
            "title": "DST selection",
            "type": "object"
        },
        "extra_info": {
            "_id": "extra_info",
            "properties": {
                "analysis_number": {
                    "title": "Analysis note (ANA) number",
                    "type": "string"
                },
                "arxiv": {
                    "title": "arXiv ID",
                    "type": "string"
                },
                "conf_report": {
                    "title": "Conference Report (CONF)",
                    "type": "string"
                },
                "public_paper": {
                    "title": "Public Paper",
                    "type": "string"
                },
                "twiki": {
                    "title": "tWiki page",
                    "type": "string"
                }
            },
            "title": "Extra Information",
            "type": "object"
        },
        "internal_discussions": {
            "_id": "internal-discussions",
            "items": {
                "properties": {
                    "meeting": {
                        "title": "E-Group",
                        "type": "string"
                    },
                    "title": {
                        "title": "Title",
                        "type": "string"
                    },
                    "url": {
                        "title": "URL",
                        "type": "string"
                    }
                },
                "title": "Reports",
                "type": "object"
            },
            "title": "Internal Discussions",
            "type": "array"
        },
        "presentations": {
            "_id": "presentations",
            "items": {
                "properties": {
                    "meeting": {
                        "title": "Meeting (GROUP?)",
                        "type": "string"
                    },
                    "title": {
                        "title": "Title",
                        "type": "string"
                    },
                    "url": {
                        "title": "URL",
                        "type": "string"
                    }
                },
                "title": "Presentation",
                "type": "object"
            },
            "title": "Presentations",
            "type": "array"
        },
        "publications": {
            "_id": "publications",
            "items": {
                "properties": {
                    "reviewegroup": {
                        "title": "Review Group",
                        "type": "string"
                    },
                    "roles": {
                        "title": "Roles",
                        "type": "string"
                    },
                    "url": {
                        "title": "URL",
                        "type": "string"
                    }
                },
                "title": "Publications",
                "type": "object"
            },
            "title": "Publications",
            "type": "array"
        }
    },
    "title": "Deposit schema.",
    "type": "object"
}