{
"version": "7",
"name": "Import LDIF",
"description": "Import LDIF file from the remote URL to Firefox OS Contacts application",
"type": "privileged",
"developer": {
"name": "Matěj Cepl",
"url": "http://matej.ceplovi.cz"
},
"activities": {
"open": {
"filters": {
"type": "text/x-ldif",
"text/x-ldif": {
"required": true,
"fileExtension": "ldif"
}
},
"disposition": "inline",
"href": "/index.html"
},
"view": {
"filters": {
"type": "url",
"url": {
"required": true,
"regexp": "\\.ldif$",
"pattern": "\\.ldif$"
}
},
"disposition": "inline",
"href": "/index.html"
}
},
"permissions": {
"contacts": {
"access": "readwrite",
"description": "Required for adding imported contacts to the system addressbook."
},
"systemXHR": {
"description": "Required for access to randomly located LDIF files on the Internet"
}
},
"installs_allowed_from": [
"*"
]
}