{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"title": "Message Pattern",
	"type": "object",
	"additionalProperties": false,
	"required": ["kind", "text"],
	"properties": {
		"kind": { "enum": ["literal", "template", "select", "plural", "rich"] },
		"text": { "type": "string" },
		"slots": { "type": "array", "items": { "type": "string" } },
		"selector": { "type": "string" },
		"cases": { "type": "object", "additionalProperties": { "type": "string" } },
		"format": { "const": "markdown" }
	}
}
