{
    "$schema": "https://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "name": { "type": "string" },
        "description": { "type": "string" },
        "author": { "type": "string" },
        "license": {
            "description": "An SPDX short license ID",
            "type": "string"
        },
        "repositoryUrl": {
            "description": "The public repository for this MRE's source code",
            "type": "string"
        },
        "permissions": {
            "description": "A list of permissions required for this MRE to run",
            "type": "array",
            "items": {
                "type": "string",
                "enum": ["user-tracking", "user-interaction"]
            }
        },
        "optionalPermissions": {
            "description": "A list of permissions that this MRE can use, but are not required",
            "type": "array",
            "items": {
                "type": "string",
                "enum": ["user-tracking", "user-interaction"]
            }
        }
    }
}
