{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://electrode.io/schemas/sdk-task.json",
    "type": "object",
    "properties": {
        "prepare": {
            "type": "object",
            "properties": {
                "steps": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "bundle": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "dev": {
                        "type": "boolean"
                    },
                    "entry": {
                        "type": "string"
                    },
                    "platform": {
                        "enum": ["android", "ios"]
                    }
                }
            }
        },
        "upload": {
            "type": "object",
            "properties": {
                "azure": {
                    "type": "object",
                    "properties": {
                        "account": {
                            "type": "string"
                        },
                        "container": {
                            "type": "string"
                        },
                        "sasToken": {
                            "type": "string"
                        }
                    }
                }
            }
        }
    },
    "notify": {
        "type": "object",
        "properties": {
            "github": {
                "type": "object",
                "properties": {
                    "baseUrl": {
                        "type": "string"
                    },
                    "token": {
                        "type": "string"
                    }
                }
            }
        }
    }
}
