{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://raw.githubusercontent.com/FarmBot-Labs/farmware_manifests/master/schema_v2.json",
    "title": "Farmware Schema",
    "type": "object",
    "properties": {
        "package": {
            "description": "Package name",
            "type": "string"
        },
        "language": {
            "description": "Package programming language",
            "type": "string"
        },
        "author": {
            "description": "Package author",
            "type": "string"
        },
        "description": {
            "description": "Package description",
            "type": "string"
        },
        "package_version": {
            "description": "Package version",
            "type": "string"
        },
        "farmware_manifest_version": {
            "description": "Farmware manifest version",
            "type": "string"
        },
        "farmbot_os_version_requirement": {
            "description": "FarmBot OS version requirement",
            "type": "string"
        },
        "farmware_tools_version_requirement": {
            "description": "Farmware Tools version requirement",
            "type": "string"
        },
        "url": {
            "description": "Url to locate this package",
            "type": "string"
        },
        "zip": {
            "description": "Url to locate the release of package",
            "type": "string"
        },
        "executable": {
            "description": "the name of the executable",
            "type": "string"
        },
        "args": {
            "description": "arguments to the executable",
            "type": "string"
        }
    },
    "required": [
        "package",
        "author",
        "zip",
        "executable",
        "args",
        "package_version",
        "farmbot_os_version_requirement",
        "farmware_manifest_version_requirement",
        "farmware_tools_version_requirement"
    ]
}