Convert ntfy.sh publish JSON format into Atom entry

{
	"type": "object",
	"xml": {
		"name": "entry",
		"namespace": "http://www.w3.org/2005/Atom"
	},
	"properties": {
		"title": { "type": "string" },
		"message": {
			"type": "string",
			"xml": { "name": "content" }
		},
		"tags": {
			"type": "array",
			"items": {
				"type": "string",
				"xml": {
					"name": "category",
					"x_single_attribute": "term"
				}
			}
		},
		"attach": {
			"type": "string",
			"xml": {
				"name": "link",
				"x_single_attribute": "href"
			}
		},
		"click": {
			"type": "string",
			"xml": {
				"name": "link",
				"x_single_attribute": "href"
			}
		},
		"actions": {
			"type": "array",
			"items": {
				"type": "object",
				"xml": { "name": "link" },
				"properties": {
					"label": {
						"type": "string",
						"xml": {
							"name": "title",
							"attribute": true
						}
					},
					"url": {
						"type": "string",
						"xml": {
							"name": "href",
							"attribute": true
						}
					}
				}
			}
		}
	}
}