{
	"$id": "https://archboard.local/schemas/model-initialize.schema.json",
	"title": "Canonical initialization intent",
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"type": "object",
	"properties": {
		"name": {
			"type": "string",
			"minLength": 1
		},
		"operationId": {
			"type": "string",
			"minLength": 1,
			"allOf": [
				{
					"pattern": "\\S"
				},
				{
					"pattern": "^[^\\n]*$"
				}
			]
		},
		"writer": {
			"type": "string",
			"minLength": 1,
			"allOf": [
				{
					"pattern": "\\S"
				},
				{
					"pattern": "^[^\\n]*$"
				}
			]
		},
		"doing": {
			"type": "string",
			"minLength": 1,
			"maxLength": 140,
			"allOf": [
				{
					"pattern": "\\S"
				},
				{
					"pattern": "^[^\\n]*$"
				}
			]
		}
	},
	"required": [
		"name",
		"operationId",
		"writer",
		"doing"
	],
	"additionalProperties": false,
	"x-archboard": {
		"runtimeObligations": [
			"The complete canonical candidate must be coherent.",
			"Continuing identities remain stable.",
			"A write requires its complete revision, intent, and claim."
		]
	}
}
