{
	"$id": "https://archboard.local/schemas/model-edit.schema.json",
	"title": "Claimed canonical edit intent",
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"anyOf": [
		{
			"type": "object",
			"properties": {
				"target": {
					"type": "object",
					"properties": {
						"model": {
							"type": "string",
							"pattern": "^[A-Za-z0-9-]{1,8}$"
						},
						"state": {
							"anyOf": [
								{
									"type": "string",
									"pattern": "^[A-Za-z0-9-]{1,8}$"
								},
								{
									"type": "null"
								}
							]
						}
					},
					"required": [
						"model",
						"state"
					],
					"additionalProperties": false
				},
				"expectedRevision": {
					"type": "object",
					"properties": {
						"digest": {
							"type": "string"
						},
						"files": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"path": {
										"type": "string"
									},
									"sha256": {
										"type": "string"
									}
								},
								"required": [
									"path",
									"sha256"
								],
								"additionalProperties": false
							}
						}
					},
					"required": [
						"digest",
						"files"
					],
					"additionalProperties": false
				},
				"operationId": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"writer": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"claim": {
					"type": "string",
					"pattern": "^[A-Za-z0-9-]{1,8}$"
				},
				"correction": {
					"type": "object",
					"properties": {
						"previous": {
							"type": "string",
							"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
						},
						"reason": {
							"type": "string",
							"minLength": 1
						},
						"revisions": {
							"minItems": 1,
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"repo": {
										"type": "string",
										"minLength": 1
									},
									"commit": {
										"type": "string",
										"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
									}
								},
								"required": [
									"repo",
									"commit"
								],
								"additionalProperties": false
							}
						}
					},
					"required": [
						"previous",
						"reason",
						"revisions"
					],
					"additionalProperties": false
				},
				"changes": {
					"minItems": 1,
					"type": "array",
					"items": {
						"oneOf": [
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-module"
									},
									"subject": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-relationship"
									},
									"source": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"relationship": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"emphasis": {
												"default": "normal",
												"type": "string",
												"enum": [
													"normal",
													"hero",
													"muted"
												]
											},
											"traffic": {
												"type": "object",
												"properties": {
													"speed": {
														"default": 80,
														"type": "number",
														"exclusiveMinimum": 0
													},
													"volume": {
														"default": 1,
														"type": "number",
														"exclusiveMinimum": 0
													}
												},
												"additionalProperties": false
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											}
										},
										"required": [
											"order",
											"kind",
											"to"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"source",
									"relationship"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-relationship"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-relationship"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"source": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"set": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"emphasis": {
												"type": "string",
												"enum": [
													"normal",
													"hero",
													"muted"
												]
											},
											"traffic": {
												"type": "object",
												"properties": {
													"speed": {
														"default": 80,
														"type": "number",
														"exclusiveMinimum": 0
													},
													"volume": {
														"default": 1,
														"type": "number",
														"exclusiveMinimum": 0
													}
												},
												"additionalProperties": false
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"label",
												"description",
												"traffic",
												"anchor"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-module"
									},
									"module": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"responsibility": {
												"type": "string",
												"minLength": 1,
												"maxLength": 200,
												"pattern": "\\S"
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"groups": {
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
												},
												"uniqueItems": true
											},
											"binding": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string"
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													},
													"branch": {
														"type": "string",
														"minLength": 1
													},
													"commit": {
														"type": "string",
														"minLength": 1
													},
													"confirmedAt": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path"
												],
												"additionalProperties": false
											},
											"parent": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"documents": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"branch": {
															"type": "string",
															"minLength": 1
														},
														"commit": {
															"type": "string",
															"minLength": 1
														},
														"path": {
															"type": "string",
															"minLength": 1
														}
													},
													"required": [
														"repo",
														"path"
													],
													"additionalProperties": false
												}
											},
											"references": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"model": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}$"
														},
														"subject": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"state": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															]
														},
														"checkpoint": {
															"type": "string",
															"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
														}
													},
													"required": [
														"repo",
														"model",
														"subject",
														"state"
													],
													"additionalProperties": false
												}
											}
										},
										"required": [
											"order",
											"name",
											"kind"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"module"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-module"
									},
									"subject": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"set": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"responsibility": {
												"type": "string",
												"minLength": 1,
												"maxLength": 200,
												"pattern": "\\S"
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"groups": {
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
												},
												"uniqueItems": true
											},
											"binding": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string"
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													},
													"branch": {
														"type": "string",
														"minLength": 1
													},
													"commit": {
														"type": "string",
														"minLength": 1
													},
													"confirmedAt": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path"
												],
												"additionalProperties": false
											},
											"parent": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"documents": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"branch": {
															"type": "string",
															"minLength": 1
														},
														"commit": {
															"type": "string",
															"minLength": 1
														},
														"path": {
															"type": "string",
															"minLength": 1
														}
													},
													"required": [
														"repo",
														"path"
													],
													"additionalProperties": false
												}
											},
											"references": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"model": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}$"
														},
														"subject": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"state": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															]
														},
														"checkpoint": {
															"type": "string",
															"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
														}
													},
													"required": [
														"repo",
														"model",
														"subject",
														"state"
													],
													"additionalProperties": false
												}
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"responsibility",
												"description",
												"parent",
												"groups",
												"binding",
												"documents",
												"references"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-collection"
									},
									"name": {
										"type": "string",
										"minLength": 1,
										"maxLength": 120,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"name"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-collection"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"name": {
										"type": "string",
										"minLength": 1,
										"maxLength": 120,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"collection",
									"name"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-collection"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									}
								},
								"required": [
									"type",
									"collection"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-flow"
									},
									"subject": {
										"type": "string",
										"minLength": 1
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-step"
									},
									"placement": {
										"type": "object",
										"properties": {
											"holder": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											},
											"alternative": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"before": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											}
										},
										"required": [
											"holder"
										],
										"additionalProperties": false
									},
									"step": {
										"$ref": "#/$defs/__schema0"
									}
								},
								"required": [
									"type",
									"placement",
									"step"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"set": {
										"type": "object",
										"properties": {
											"kind": {
												"type": "string",
												"enum": [
													"sync",
													"async",
													"return",
													"self"
												]
											},
											"from": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"note": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"repeat": {
												"type": "integer",
												"minimum": 2,
												"maximum": 9007199254740991
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"question": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"condition": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"alternatives": {
												"minItems": 2,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"maxLength": 60
												}
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"note",
												"repeat",
												"anchor"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "move-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"placement": {
										"type": "object",
										"properties": {
											"holder": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											},
											"alternative": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"before": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											}
										},
										"required": [
											"holder"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"subject",
									"placement"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-flow"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"flow": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"participants": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												}
											},
											"steps": {
												"minItems": 1,
												"type": "array",
												"items": {
													"$ref": "#/$defs/__schema0"
												}
											}
										},
										"required": [
											"name",
											"summary",
											"participants",
											"steps"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"collection",
									"flow"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-flow"
									},
									"subject": {
										"type": "string",
										"minLength": 1
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"set": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"participants": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												}
											}
										},
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-walkthrough"
									},
									"walkthrough": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"target": {
												"anyOf": [
													{
														"type": "object",
														"properties": {
															"state": {
																"type": "string",
																"minLength": 1
															}
														},
														"required": [
															"state"
														],
														"additionalProperties": false
													},
													{
														"type": "object",
														"properties": {
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"checkpoint"
														],
														"additionalProperties": false
													}
												]
											},
											"beats": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"title": {
															"type": "string",
															"minLength": 1,
															"maxLength": 120,
															"allOf": [
																{
																	"pattern": "\\S"
																},
																{
																	"pattern": "^[^\\n]*$"
																}
															]
														},
														"narrative": {
															"type": "string",
															"minLength": 1,
															"maxLength": 2000,
															"pattern": "\\S"
														},
														"reading": {
															"type": "object",
															"properties": {
																"visibility": {
																	"type": "object",
																	"properties": {
																		"modules": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		},
																		"relationships": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		},
																		"flows": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		}
																	},
																	"required": [
																		"modules",
																		"relationships",
																		"flows"
																	],
																	"additionalProperties": false
																},
																"scope": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																},
																"selection": {
																	"default": [],
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"focus": {
																	"default": [],
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"filters": {
																	"default": {
																		"relationships": [],
																		"groups": []
																	},
																	"type": "object",
																	"properties": {
																		"relationships": {
																			"type": "array",
																			"items": {
																				"type": "string"
																			}
																		},
																		"groups": {
																			"type": "array",
																			"items": {
																				"type": "string"
																			}
																		}
																	},
																	"required": [
																		"relationships",
																		"groups"
																	],
																	"additionalProperties": false
																},
																"grammar": {
																	"type": "string",
																	"enum": [
																		"architecture",
																		"sequence",
																		"flowchart"
																	]
																},
																"flow": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															},
															"required": [
																"grammar"
															],
															"additionalProperties": false
														}
													},
													"required": [
														"title",
														"narrative",
														"reading"
													],
													"additionalProperties": false
												}
											}
										},
										"required": [
											"name",
											"target",
											"beats"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"walkthrough"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-walkthrough"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"set": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"target": {
												"anyOf": [
													{
														"type": "object",
														"properties": {
															"state": {
																"type": "string",
																"minLength": 1
															}
														},
														"required": [
															"state"
														],
														"additionalProperties": false
													},
													{
														"type": "object",
														"properties": {
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"checkpoint"
														],
														"additionalProperties": false
													}
												]
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"const": "summary"
										}
									},
									"beats": {
										"minItems": 1,
										"type": "array",
										"items": {
											"type": "object",
											"properties": {
												"title": {
													"type": "string",
													"minLength": 1,
													"maxLength": 120,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												},
												"narrative": {
													"type": "string",
													"minLength": 1,
													"maxLength": 2000,
													"pattern": "\\S"
												},
												"reading": {
													"type": "object",
													"properties": {
														"visibility": {
															"type": "object",
															"properties": {
																"modules": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"relationships": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"flows": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																}
															},
															"required": [
																"modules",
																"relationships",
																"flows"
															],
															"additionalProperties": false
														},
														"scope": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"selection": {
															"default": [],
															"type": "array",
															"items": {
																"type": "string",
																"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
															}
														},
														"focus": {
															"default": [],
															"type": "array",
															"items": {
																"type": "string",
																"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
															}
														},
														"filters": {
															"default": {
																"relationships": [],
																"groups": []
															},
															"type": "object",
															"properties": {
																"relationships": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																},
																"groups": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																}
															},
															"required": [
																"relationships",
																"groups"
															],
															"additionalProperties": false
														},
														"grammar": {
															"type": "string",
															"enum": [
																"architecture",
																"sequence",
																"flowchart"
															]
														},
														"flow": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														}
													},
													"required": [
														"grammar"
													],
													"additionalProperties": false
												},
												"id": {
													"type": "string",
													"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
												}
											},
											"required": [
												"title",
												"narrative",
												"reading"
											],
											"additionalProperties": false
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-walkthrough"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							}
						]
					}
				}
			},
			"required": [
				"target",
				"expectedRevision",
				"operationId",
				"writer",
				"claim",
				"correction",
				"changes"
			],
			"additionalProperties": false
		},
		{
			"type": "object",
			"properties": {
				"target": {
					"type": "object",
					"properties": {
						"model": {
							"type": "string",
							"pattern": "^[A-Za-z0-9-]{1,8}$"
						},
						"state": {
							"anyOf": [
								{
									"type": "string",
									"pattern": "^[A-Za-z0-9-]{1,8}$"
								},
								{
									"type": "null"
								}
							]
						}
					},
					"required": [
						"model",
						"state"
					],
					"additionalProperties": false
				},
				"expectedRevision": {
					"type": "object",
					"properties": {
						"digest": {
							"type": "string"
						},
						"files": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"path": {
										"type": "string"
									},
									"sha256": {
										"type": "string"
									}
								},
								"required": [
									"path",
									"sha256"
								],
								"additionalProperties": false
							}
						}
					},
					"required": [
						"digest",
						"files"
					],
					"additionalProperties": false
				},
				"operationId": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"writer": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"claim": {
					"type": "string",
					"pattern": "^[A-Za-z0-9-]{1,8}$"
				},
				"proposal": {
					"oneOf": [
						{
							"type": "object",
							"properties": {
								"type": {
									"type": "string",
									"const": "adopt"
								},
								"reason": {
									"type": "string",
									"minLength": 1
								},
								"force": {
									"type": "boolean"
								},
								"comparison": {
									"type": "object",
									"properties": {
										"reason": {
											"type": "string",
											"enum": [
												"explicit",
												"current",
												"predecessor"
											]
										},
										"against": {
											"anyOf": [
												{
													"type": "object",
													"properties": {
														"id": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}$"
														},
														"name": {
															"type": "string",
															"minLength": 1,
															"maxLength": 120,
															"allOf": [
																{
																	"pattern": "\\S"
																},
																{
																	"pattern": "^[^\\n]*$"
																}
															]
														},
														"formerNames": {
															"type": "array",
															"items": {
																"type": "string",
																"minLength": 1,
																"maxLength": 120,
																"allOf": [
																	{
																		"pattern": "\\S"
																	},
																	{
																		"pattern": "^[^\\n]*$"
																	}
																]
															}
														},
														"summary": {
															"type": "string",
															"minLength": 1,
															"maxLength": 2000,
															"pattern": "\\S"
														},
														"documents": {
															"type": "array",
															"items": {
																"type": "object",
																"properties": {
																	"repo": {
																		"type": "string",
																		"minLength": 1
																	},
																	"branch": {
																		"type": "string",
																		"minLength": 1
																	},
																	"commit": {
																		"type": "string",
																		"minLength": 1
																	},
																	"path": {
																		"type": "string",
																		"minLength": 1
																	}
																},
																"required": [
																	"repo",
																	"path"
																],
																"additionalProperties": false
															}
														},
														"predecessor": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "null"
																}
															]
														},
														"baseline": {
															"type": "string",
															"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
														},
														"createdAt": {
															"type": "string",
															"format": "date-time",
															"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
														},
														"adoptedAt": {
															"type": "string",
															"format": "date-time",
															"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
														},
														"shelvedAt": {
															"type": "string",
															"format": "date-time",
															"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
														},
														"reason": {
															"type": "string",
															"minLength": 1
														},
														"previousCurrent": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "null"
																}
															]
														},
														"lifecycle": {
															"type": "string",
															"enum": [
																"current",
																"draft",
																"historical",
																"shelved"
															]
														},
														"standing": {
															"type": "object",
															"properties": {
																"against": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																"baseline": {
																	"type": "string",
																	"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
																},
																"atRevision": {
																	"type": "string",
																	"pattern": "^[a-f0-9]{64}$"
																},
																"issues": {
																	"type": "array",
																	"items": {
																		"type": "object",
																		"properties": {
																			"subject": {
																				"anyOf": [
																					{
																						"type": "string",
																						"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																					},
																					{
																						"type": "string",
																						"pattern": "^[A-Za-z0-9-]{1,8}$"
																					}
																				]
																			},
																			"what": {
																				"type": "string",
																				"minLength": 1
																			},
																			"kind": {
																				"type": "string",
																				"enum": [
																					"competing-field",
																					"competing-order",
																					"deleted-and-changed",
																					"reference-lost",
																					"left-empty"
																				]
																			},
																			"field": {
																				"type": "string",
																				"minLength": 1
																			},
																			"mine": {},
																			"theirs": {},
																			"changed": {
																				"type": "array",
																				"items": {
																					"type": "object",
																					"properties": {
																						"field": {
																							"type": "string",
																							"minLength": 1
																						},
																						"before": {},
																						"after": {}
																					},
																					"required": [
																						"field",
																						"before",
																						"after"
																					],
																					"additionalProperties": false
																				}
																			},
																			"repair": {
																				"type": "string",
																				"minLength": 1
																			}
																		},
																		"required": [
																			"subject",
																			"what",
																			"kind",
																			"mine",
																			"theirs",
																			"repair"
																		],
																		"additionalProperties": false
																	}
																},
																"blockedBy": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																}
															},
															"required": [
																"against",
																"baseline",
																"atRevision",
																"issues"
															],
															"additionalProperties": false
														},
														"corrections": {
															"type": "array",
															"items": {
																"type": "object",
																"properties": {
																	"previous": {
																		"type": "string",
																		"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
																	},
																	"reason": {
																		"type": "string",
																		"minLength": 1
																	},
																	"revisions": {
																		"minItems": 1,
																		"type": "array",
																		"items": {
																			"type": "object",
																			"properties": {
																				"repo": {
																					"type": "string",
																					"minLength": 1
																				},
																				"commit": {
																					"type": "string",
																					"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
																				}
																			},
																			"required": [
																				"repo",
																				"commit"
																			],
																			"additionalProperties": false
																		}
																	},
																	"at": {
																		"type": "string",
																		"format": "date-time",
																		"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
																	},
																	"checkpoint": {
																		"type": "string",
																		"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
																	}
																},
																"required": [
																	"previous",
																	"reason",
																	"revisions",
																	"at",
																	"checkpoint"
																],
																"additionalProperties": false
															}
														}
													},
													"required": [
														"id",
														"name",
														"lifecycle"
													],
													"additionalProperties": false
												},
												{
													"type": "null"
												}
											]
										},
										"revision": {
											"type": "object",
											"properties": {
												"digest": {
													"type": "string"
												},
												"files": {
													"type": "array",
													"items": {
														"type": "object",
														"properties": {
															"path": {
																"type": "string"
															},
															"sha256": {
																"type": "string"
															}
														},
														"required": [
															"path",
															"sha256"
														],
														"additionalProperties": false
													}
												}
											},
											"required": [
												"digest",
												"files"
											],
											"additionalProperties": false
										},
										"checkpoint": {
											"type": "string",
											"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
										},
										"corrections": {
											"type": "object",
											"properties": {
												"selected": {
													"type": "array",
													"items": {
														"type": "object",
														"properties": {
															"previous": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															},
															"reason": {
																"type": "string",
																"minLength": 1
															},
															"revisions": {
																"minItems": 1,
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"repo": {
																			"type": "string",
																			"minLength": 1
																		},
																		"commit": {
																			"type": "string",
																			"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
																		}
																	},
																	"required": [
																		"repo",
																		"commit"
																	],
																	"additionalProperties": false
																}
															},
															"at": {
																"type": "string",
																"format": "date-time",
																"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
															},
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"previous",
															"reason",
															"revisions",
															"at",
															"checkpoint"
														],
														"additionalProperties": false
													}
												},
												"against": {
													"type": "array",
													"items": {
														"type": "object",
														"properties": {
															"previous": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															},
															"reason": {
																"type": "string",
																"minLength": 1
															},
															"revisions": {
																"minItems": 1,
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"repo": {
																			"type": "string",
																			"minLength": 1
																		},
																		"commit": {
																			"type": "string",
																			"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
																		}
																	},
																	"required": [
																		"repo",
																		"commit"
																	],
																	"additionalProperties": false
																}
															},
															"at": {
																"type": "string",
																"format": "date-time",
																"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
															},
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"previous",
															"reason",
															"revisions",
															"at",
															"checkpoint"
														],
														"additionalProperties": false
													}
												}
											},
											"required": [
												"selected",
												"against"
											],
											"additionalProperties": false
										},
										"interfaceChanges": {
											"type": "object",
											"properties": {
												"changed": {
													"type": "array",
													"items": {
														"type": "object",
														"properties": {
															"container": {
																"type": "object",
																"properties": {
																	"id": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	},
																	"name": {
																		"type": "string"
																	},
																	"kind": {
																		"type": "string"
																	}
																},
																"required": [
																	"id",
																	"name",
																	"kind"
																],
																"additionalProperties": false
															},
															"holdsParts": {
																"type": "object",
																"properties": {
																	"before": {
																		"type": "boolean"
																	},
																	"after": {
																		"type": "boolean"
																	}
																},
																"required": [
																	"before",
																	"after"
																],
																"additionalProperties": false
															},
															"entryPointsAdded": {
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"id": {
																			"type": "string",
																			"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																		},
																		"name": {
																			"type": "string"
																		},
																		"kind": {
																			"type": "string"
																		}
																	},
																	"required": [
																		"id",
																		"name",
																		"kind"
																	],
																	"additionalProperties": false
																}
															},
															"entryPointsRemoved": {
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"id": {
																			"type": "string",
																			"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																		},
																		"name": {
																			"type": "string"
																		},
																		"kind": {
																			"type": "string"
																		}
																	},
																	"required": [
																		"id",
																		"name",
																		"kind"
																	],
																	"additionalProperties": false
																}
															},
															"becameEntryPoints": {
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"id": {
																			"type": "string",
																			"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																		},
																		"name": {
																			"type": "string"
																		},
																		"kind": {
																			"type": "string"
																		}
																	},
																	"required": [
																		"id",
																		"name",
																		"kind"
																	],
																	"additionalProperties": false
																}
															},
															"becameHidden": {
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"id": {
																			"type": "string",
																			"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																		},
																		"name": {
																			"type": "string"
																		},
																		"kind": {
																			"type": "string"
																		}
																	},
																	"required": [
																		"id",
																		"name",
																		"kind"
																	],
																	"additionalProperties": false
																}
															},
															"callersGained": {
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"id": {
																			"type": "string",
																			"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																		},
																		"name": {
																			"type": "string"
																		},
																		"kind": {
																			"type": "string"
																		}
																	},
																	"required": [
																		"id",
																		"name",
																		"kind"
																	],
																	"additionalProperties": false
																}
															},
															"callersLost": {
																"type": "array",
																"items": {
																	"type": "object",
																	"properties": {
																		"id": {
																			"type": "string",
																			"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																		},
																		"name": {
																			"type": "string"
																		},
																		"kind": {
																			"type": "string"
																		}
																	},
																	"required": [
																		"id",
																		"name",
																		"kind"
																	],
																	"additionalProperties": false
																}
															}
														},
														"required": [
															"container",
															"holdsParts",
															"entryPointsAdded",
															"entryPointsRemoved",
															"becameEntryPoints",
															"becameHidden",
															"callersGained",
															"callersLost"
														],
														"additionalProperties": false
													}
												},
												"unchanged": {
													"type": "array",
													"items": {
														"type": "object",
														"properties": {
															"id": {
																"type": "string",
																"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
															},
															"name": {
																"type": "string"
															},
															"kind": {
																"type": "string"
															}
														},
														"required": [
															"id",
															"name",
															"kind"
														],
														"additionalProperties": false
													}
												}
											},
											"required": [
												"changed",
												"unchanged"
											],
											"additionalProperties": false
										},
										"interfaceMeasures": {
											"type": "object",
											"properties": {
												"states": {
													"type": "array",
													"items": {
														"type": "object",
														"properties": {
															"state": {
																"anyOf": [
																	{
																		"type": "object",
																		"properties": {
																			"id": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}$"
																			},
																			"name": {
																				"type": "string",
																				"minLength": 1,
																				"maxLength": 120,
																				"allOf": [
																					{
																						"pattern": "\\S"
																					},
																					{
																						"pattern": "^[^\\n]*$"
																					}
																				]
																			},
																			"lifecycle": {
																				"type": "string",
																				"enum": [
																					"current",
																					"draft",
																					"historical",
																					"shelved"
																				]
																			}
																		},
																		"required": [
																			"id",
																			"name",
																			"lifecycle"
																		],
																		"additionalProperties": false
																	},
																	{
																		"type": "null"
																	}
																]
															},
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"state"
														],
														"additionalProperties": false
													}
												},
												"containers": {
													"type": "array",
													"items": {
														"type": "object",
														"properties": {
															"container": {
																"type": "object",
																"properties": {
																	"id": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	},
																	"name": {
																		"type": "string"
																	},
																	"kind": {
																		"type": "string"
																	}
																},
																"required": [
																	"id",
																	"name",
																	"kind"
																],
																"additionalProperties": false
															},
															"byState": {
																"type": "array",
																"items": {
																	"oneOf": [
																		{
																			"type": "object",
																			"properties": {
																				"holdsParts": {
																					"type": "boolean",
																					"const": false
																				}
																			},
																			"required": [
																				"holdsParts"
																			],
																			"additionalProperties": false
																		},
																		{
																			"type": "object",
																			"properties": {
																				"holdsParts": {
																					"type": "boolean",
																					"const": true
																				},
																				"measures": {
																					"type": "object",
																					"properties": {
																						"entryPoints": {
																							"type": "integer",
																							"minimum": -9007199254740991,
																							"maximum": 9007199254740991
																						},
																						"hiddenParts": {
																							"type": "integer",
																							"minimum": -9007199254740991,
																							"maximum": 9007199254740991
																						},
																						"callers": {
																							"type": "integer",
																							"minimum": -9007199254740991,
																							"maximum": 9007199254740991
																						},
																						"outgoing": {
																							"type": "integer",
																							"minimum": -9007199254740991,
																							"maximum": 9007199254740991
																						},
																						"passThrough": {
																							"type": "integer",
																							"minimum": -9007199254740991,
																							"maximum": 9007199254740991
																						}
																					},
																					"required": [
																						"entryPoints",
																						"hiddenParts",
																						"callers",
																						"outgoing",
																						"passThrough"
																					],
																					"additionalProperties": false
																				},
																				"entryPoints": {
																					"type": "array",
																					"items": {
																						"type": "object",
																						"properties": {
																							"id": {
																								"type": "string",
																								"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																							},
																							"name": {
																								"type": "string"
																							},
																							"kind": {
																								"type": "string"
																							}
																						},
																						"required": [
																							"id",
																							"name",
																							"kind"
																						],
																						"additionalProperties": false
																					}
																				},
																				"passThrough": {
																					"type": "array",
																					"items": {
																						"type": "object",
																						"properties": {
																							"id": {
																								"type": "string",
																								"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																							},
																							"name": {
																								"type": "string"
																							},
																							"kind": {
																								"type": "string"
																							}
																						},
																						"required": [
																							"id",
																							"name",
																							"kind"
																						],
																						"additionalProperties": false
																					}
																				}
																			},
																			"required": [
																				"holdsParts",
																				"measures",
																				"entryPoints",
																				"passThrough"
																			],
																			"additionalProperties": false
																		}
																	]
																}
															}
														},
														"required": [
															"container",
															"byState"
														],
														"additionalProperties": false
													}
												}
											},
											"required": [
												"states",
												"containers"
											],
											"additionalProperties": false
										},
										"subjects": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"id": {
														"type": "string",
														"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
													},
													"subjectKind": {
														"type": "string",
														"enum": [
															"module",
															"relationship",
															"collection",
															"flow",
															"step",
															"walkthrough",
															"beat"
														]
													},
													"kind": {
														"type": "string",
														"enum": [
															"added",
															"removed",
															"changed",
															"unchanged"
														]
													},
													"fields": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"field": {
																	"type": "string"
																},
																"before": {},
																"after": {}
															},
															"required": [
																"field"
															],
															"additionalProperties": false
														}
													}
												},
												"required": [
													"id",
													"subjectKind",
													"kind",
													"fields"
												],
												"additionalProperties": false
											}
										}
									},
									"required": [
										"reason",
										"against",
										"revision",
										"interfaceChanges",
										"interfaceMeasures",
										"subjects"
									],
									"additionalProperties": false
								}
							},
							"required": [
								"type",
								"reason"
							],
							"additionalProperties": false
						},
						{
							"type": "object",
							"properties": {
								"type": {
									"type": "string",
									"const": "shelve"
								},
								"reason": {
									"type": "string",
									"minLength": 1
								}
							},
							"required": [
								"type",
								"reason"
							],
							"additionalProperties": false
						},
						{
							"type": "object",
							"properties": {
								"type": {
									"type": "string",
									"const": "reconcile"
								}
							},
							"required": [
								"type"
							],
							"additionalProperties": false
						},
						{
							"type": "object",
							"properties": {
								"type": {
									"type": "string",
									"const": "settle"
								},
								"resolutions": {
									"minItems": 1,
									"type": "array",
									"items": {
										"type": "object",
										"properties": {
											"subject": {
												"anyOf": [
													{
														"type": "string",
														"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
													},
													{
														"type": "string",
														"pattern": "^[A-Za-z0-9-]{1,8}$"
													}
												]
											},
											"field": {
												"type": "string"
											},
											"take": {
												"type": "string",
												"enum": [
													"mine",
													"theirs",
													"edited"
												]
											}
										},
										"required": [
											"subject",
											"take"
										],
										"additionalProperties": false
									}
								}
							},
							"required": [
								"type",
								"resolutions"
							],
							"additionalProperties": false
						},
						{
							"type": "object",
							"properties": {
								"type": {
									"type": "string",
									"const": "create"
								},
								"confirm": {
									"type": "array",
									"items": {
										"type": "string",
										"enum": [
											"INHERITANCE_DROPPED",
											"PART_RECREATED"
										]
									}
								},
								"name": {
									"type": "string",
									"minLength": 1,
									"maxLength": 120,
									"allOf": [
										{
											"pattern": "\\S"
										},
										{
											"pattern": "^[^\\n]*$"
										}
									]
								},
								"summary": {
									"type": "string",
									"minLength": 1,
									"maxLength": 2000,
									"pattern": "\\S"
								},
								"documents": {
									"type": "array",
									"items": {
										"type": "object",
										"properties": {
											"repo": {
												"type": "string",
												"minLength": 1
											},
											"branch": {
												"type": "string",
												"minLength": 1
											},
											"commit": {
												"type": "string",
												"minLength": 1
											},
											"path": {
												"type": "string",
												"minLength": 1
											}
										},
										"required": [
											"repo",
											"path"
										],
										"additionalProperties": false
									}
								}
							},
							"required": [
								"type",
								"name"
							],
							"additionalProperties": false
						},
						{
							"type": "object",
							"properties": {
								"type": {
									"type": "string",
									"const": "edit"
								},
								"confirm": {
									"type": "array",
									"items": {
										"type": "string",
										"enum": [
											"INHERITANCE_DROPPED",
											"PART_RECREATED"
										]
									}
								},
								"set": {
									"type": "object",
									"properties": {
										"name": {
											"type": "string",
											"minLength": 1,
											"maxLength": 120,
											"allOf": [
												{
													"pattern": "\\S"
												},
												{
													"pattern": "^[^\\n]*$"
												}
											]
										},
										"summary": {
											"type": "string",
											"minLength": 1,
											"maxLength": 2000,
											"pattern": "\\S"
										},
										"documents": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"branch": {
														"type": "string",
														"minLength": 1
													},
													"commit": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path"
												],
												"additionalProperties": false
											}
										}
									},
									"additionalProperties": false
								},
								"clear": {
									"type": "array",
									"items": {
										"type": "string",
										"enum": [
											"summary",
											"documents"
										]
									}
								}
							},
							"required": [
								"type"
							],
							"additionalProperties": false
						}
					]
				},
				"changes": {
					"type": "array",
					"items": {
						"oneOf": [
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-module"
									},
									"subject": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-relationship"
									},
									"source": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"relationship": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"emphasis": {
												"default": "normal",
												"type": "string",
												"enum": [
													"normal",
													"hero",
													"muted"
												]
											},
											"traffic": {
												"type": "object",
												"properties": {
													"speed": {
														"default": 80,
														"type": "number",
														"exclusiveMinimum": 0
													},
													"volume": {
														"default": 1,
														"type": "number",
														"exclusiveMinimum": 0
													}
												},
												"additionalProperties": false
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											}
										},
										"required": [
											"order",
											"kind",
											"to"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"source",
									"relationship"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-relationship"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-relationship"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"source": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"set": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"emphasis": {
												"type": "string",
												"enum": [
													"normal",
													"hero",
													"muted"
												]
											},
											"traffic": {
												"type": "object",
												"properties": {
													"speed": {
														"default": 80,
														"type": "number",
														"exclusiveMinimum": 0
													},
													"volume": {
														"default": 1,
														"type": "number",
														"exclusiveMinimum": 0
													}
												},
												"additionalProperties": false
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"label",
												"description",
												"traffic",
												"anchor"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-module"
									},
									"module": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"responsibility": {
												"type": "string",
												"minLength": 1,
												"maxLength": 200,
												"pattern": "\\S"
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"groups": {
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
												},
												"uniqueItems": true
											},
											"binding": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string"
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													},
													"branch": {
														"type": "string",
														"minLength": 1
													},
													"commit": {
														"type": "string",
														"minLength": 1
													},
													"confirmedAt": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path"
												],
												"additionalProperties": false
											},
											"parent": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"documents": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"branch": {
															"type": "string",
															"minLength": 1
														},
														"commit": {
															"type": "string",
															"minLength": 1
														},
														"path": {
															"type": "string",
															"minLength": 1
														}
													},
													"required": [
														"repo",
														"path"
													],
													"additionalProperties": false
												}
											},
											"references": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"model": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}$"
														},
														"subject": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"state": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															]
														},
														"checkpoint": {
															"type": "string",
															"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
														}
													},
													"required": [
														"repo",
														"model",
														"subject",
														"state"
													],
													"additionalProperties": false
												}
											}
										},
										"required": [
											"order",
											"name",
											"kind"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"module"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-module"
									},
									"subject": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"set": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"responsibility": {
												"type": "string",
												"minLength": 1,
												"maxLength": 200,
												"pattern": "\\S"
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"groups": {
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
												},
												"uniqueItems": true
											},
											"binding": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string"
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													},
													"branch": {
														"type": "string",
														"minLength": 1
													},
													"commit": {
														"type": "string",
														"minLength": 1
													},
													"confirmedAt": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path"
												],
												"additionalProperties": false
											},
											"parent": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"documents": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"branch": {
															"type": "string",
															"minLength": 1
														},
														"commit": {
															"type": "string",
															"minLength": 1
														},
														"path": {
															"type": "string",
															"minLength": 1
														}
													},
													"required": [
														"repo",
														"path"
													],
													"additionalProperties": false
												}
											},
											"references": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"model": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}$"
														},
														"subject": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"state": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															]
														},
														"checkpoint": {
															"type": "string",
															"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
														}
													},
													"required": [
														"repo",
														"model",
														"subject",
														"state"
													],
													"additionalProperties": false
												}
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"responsibility",
												"description",
												"parent",
												"groups",
												"binding",
												"documents",
												"references"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-collection"
									},
									"name": {
										"type": "string",
										"minLength": 1,
										"maxLength": 120,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"name"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-collection"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"name": {
										"type": "string",
										"minLength": 1,
										"maxLength": 120,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"collection",
									"name"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-collection"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									}
								},
								"required": [
									"type",
									"collection"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-flow"
									},
									"subject": {
										"type": "string",
										"minLength": 1
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-step"
									},
									"placement": {
										"type": "object",
										"properties": {
											"holder": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											},
											"alternative": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"before": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											}
										},
										"required": [
											"holder"
										],
										"additionalProperties": false
									},
									"step": {
										"$ref": "#/$defs/__schema0"
									}
								},
								"required": [
									"type",
									"placement",
									"step"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"set": {
										"type": "object",
										"properties": {
											"kind": {
												"type": "string",
												"enum": [
													"sync",
													"async",
													"return",
													"self"
												]
											},
											"from": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"note": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"repeat": {
												"type": "integer",
												"minimum": 2,
												"maximum": 9007199254740991
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"question": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"condition": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"alternatives": {
												"minItems": 2,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"maxLength": 60
												}
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"note",
												"repeat",
												"anchor"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "move-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"placement": {
										"type": "object",
										"properties": {
											"holder": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											},
											"alternative": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"before": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											}
										},
										"required": [
											"holder"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"subject",
									"placement"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-flow"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"flow": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"participants": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												}
											},
											"steps": {
												"minItems": 1,
												"type": "array",
												"items": {
													"$ref": "#/$defs/__schema0"
												}
											}
										},
										"required": [
											"name",
											"summary",
											"participants",
											"steps"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"collection",
									"flow"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-flow"
									},
									"subject": {
										"type": "string",
										"minLength": 1
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"set": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"participants": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												}
											}
										},
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-walkthrough"
									},
									"walkthrough": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"target": {
												"anyOf": [
													{
														"type": "object",
														"properties": {
															"state": {
																"type": "string",
																"minLength": 1
															}
														},
														"required": [
															"state"
														],
														"additionalProperties": false
													},
													{
														"type": "object",
														"properties": {
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"checkpoint"
														],
														"additionalProperties": false
													}
												]
											},
											"beats": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"title": {
															"type": "string",
															"minLength": 1,
															"maxLength": 120,
															"allOf": [
																{
																	"pattern": "\\S"
																},
																{
																	"pattern": "^[^\\n]*$"
																}
															]
														},
														"narrative": {
															"type": "string",
															"minLength": 1,
															"maxLength": 2000,
															"pattern": "\\S"
														},
														"reading": {
															"type": "object",
															"properties": {
																"visibility": {
																	"type": "object",
																	"properties": {
																		"modules": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		},
																		"relationships": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		},
																		"flows": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		}
																	},
																	"required": [
																		"modules",
																		"relationships",
																		"flows"
																	],
																	"additionalProperties": false
																},
																"scope": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																},
																"selection": {
																	"default": [],
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"focus": {
																	"default": [],
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"filters": {
																	"default": {
																		"relationships": [],
																		"groups": []
																	},
																	"type": "object",
																	"properties": {
																		"relationships": {
																			"type": "array",
																			"items": {
																				"type": "string"
																			}
																		},
																		"groups": {
																			"type": "array",
																			"items": {
																				"type": "string"
																			}
																		}
																	},
																	"required": [
																		"relationships",
																		"groups"
																	],
																	"additionalProperties": false
																},
																"grammar": {
																	"type": "string",
																	"enum": [
																		"architecture",
																		"sequence",
																		"flowchart"
																	]
																},
																"flow": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															},
															"required": [
																"grammar"
															],
															"additionalProperties": false
														}
													},
													"required": [
														"title",
														"narrative",
														"reading"
													],
													"additionalProperties": false
												}
											}
										},
										"required": [
											"name",
											"target",
											"beats"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"walkthrough"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-walkthrough"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"set": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"target": {
												"anyOf": [
													{
														"type": "object",
														"properties": {
															"state": {
																"type": "string",
																"minLength": 1
															}
														},
														"required": [
															"state"
														],
														"additionalProperties": false
													},
													{
														"type": "object",
														"properties": {
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"checkpoint"
														],
														"additionalProperties": false
													}
												]
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"const": "summary"
										}
									},
									"beats": {
										"minItems": 1,
										"type": "array",
										"items": {
											"type": "object",
											"properties": {
												"title": {
													"type": "string",
													"minLength": 1,
													"maxLength": 120,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												},
												"narrative": {
													"type": "string",
													"minLength": 1,
													"maxLength": 2000,
													"pattern": "\\S"
												},
												"reading": {
													"type": "object",
													"properties": {
														"visibility": {
															"type": "object",
															"properties": {
																"modules": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"relationships": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"flows": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																}
															},
															"required": [
																"modules",
																"relationships",
																"flows"
															],
															"additionalProperties": false
														},
														"scope": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"selection": {
															"default": [],
															"type": "array",
															"items": {
																"type": "string",
																"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
															}
														},
														"focus": {
															"default": [],
															"type": "array",
															"items": {
																"type": "string",
																"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
															}
														},
														"filters": {
															"default": {
																"relationships": [],
																"groups": []
															},
															"type": "object",
															"properties": {
																"relationships": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																},
																"groups": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																}
															},
															"required": [
																"relationships",
																"groups"
															],
															"additionalProperties": false
														},
														"grammar": {
															"type": "string",
															"enum": [
																"architecture",
																"sequence",
																"flowchart"
															]
														},
														"flow": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														}
													},
													"required": [
														"grammar"
													],
													"additionalProperties": false
												},
												"id": {
													"type": "string",
													"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
												}
											},
											"required": [
												"title",
												"narrative",
												"reading"
											],
											"additionalProperties": false
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-walkthrough"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							}
						]
					}
				}
			},
			"required": [
				"target",
				"expectedRevision",
				"operationId",
				"writer",
				"claim",
				"proposal",
				"changes"
			],
			"additionalProperties": false
		},
		{
			"type": "object",
			"properties": {
				"target": {
					"type": "object",
					"properties": {
						"model": {
							"type": "string",
							"pattern": "^[A-Za-z0-9-]{1,8}$"
						},
						"state": {
							"anyOf": [
								{
									"type": "string",
									"pattern": "^[A-Za-z0-9-]{1,8}$"
								},
								{
									"type": "null"
								}
							]
						}
					},
					"required": [
						"model",
						"state"
					],
					"additionalProperties": false
				},
				"subject": {
					"type": "string",
					"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
				},
				"expectedRevision": {
					"type": "object",
					"properties": {
						"digest": {
							"type": "string"
						},
						"files": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"path": {
										"type": "string"
									},
									"sha256": {
										"type": "string"
									}
								},
								"required": [
									"path",
									"sha256"
								],
								"additionalProperties": false
							}
						}
					},
					"required": [
						"digest",
						"files"
					],
					"additionalProperties": false
				},
				"operationId": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"writer": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"claim": {
					"type": "string",
					"pattern": "^[A-Za-z0-9-]{1,8}$"
				},
				"description": {
					"type": "string",
					"minLength": 1,
					"maxLength": 2000,
					"pattern": "\\S"
				}
			},
			"required": [
				"target",
				"subject",
				"expectedRevision",
				"operationId",
				"writer",
				"claim",
				"description"
			],
			"additionalProperties": false
		},
		{
			"type": "object",
			"properties": {
				"target": {
					"type": "object",
					"properties": {
						"model": {
							"type": "string",
							"pattern": "^[A-Za-z0-9-]{1,8}$"
						},
						"state": {
							"anyOf": [
								{
									"type": "string",
									"pattern": "^[A-Za-z0-9-]{1,8}$"
								},
								{
									"type": "null"
								}
							]
						}
					},
					"required": [
						"model",
						"state"
					],
					"additionalProperties": false
				},
				"expectedRevision": {
					"type": "object",
					"properties": {
						"digest": {
							"type": "string"
						},
						"files": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"path": {
										"type": "string"
									},
									"sha256": {
										"type": "string"
									}
								},
								"required": [
									"path",
									"sha256"
								],
								"additionalProperties": false
							}
						}
					},
					"required": [
						"digest",
						"files"
					],
					"additionalProperties": false
				},
				"operationId": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"writer": {
					"type": "string",
					"minLength": 1,
					"allOf": [
						{
							"pattern": "\\S"
						},
						{
							"pattern": "^[^\\n]*$"
						}
					]
				},
				"claim": {
					"type": "string",
					"pattern": "^[A-Za-z0-9-]{1,8}$"
				},
				"changes": {
					"minItems": 1,
					"type": "array",
					"items": {
						"oneOf": [
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-module"
									},
									"subject": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-relationship"
									},
									"source": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"relationship": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"emphasis": {
												"default": "normal",
												"type": "string",
												"enum": [
													"normal",
													"hero",
													"muted"
												]
											},
											"traffic": {
												"type": "object",
												"properties": {
													"speed": {
														"default": 80,
														"type": "number",
														"exclusiveMinimum": 0
													},
													"volume": {
														"default": 1,
														"type": "number",
														"exclusiveMinimum": 0
													}
												},
												"additionalProperties": false
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											}
										},
										"required": [
											"order",
											"kind",
											"to"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"source",
									"relationship"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-relationship"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-relationship"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"source": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"set": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"emphasis": {
												"type": "string",
												"enum": [
													"normal",
													"hero",
													"muted"
												]
											},
											"traffic": {
												"type": "object",
												"properties": {
													"speed": {
														"default": 80,
														"type": "number",
														"exclusiveMinimum": 0
													},
													"volume": {
														"default": 1,
														"type": "number",
														"exclusiveMinimum": 0
													}
												},
												"additionalProperties": false
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"label",
												"description",
												"traffic",
												"anchor"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-module"
									},
									"module": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"responsibility": {
												"type": "string",
												"minLength": 1,
												"maxLength": 200,
												"pattern": "\\S"
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"groups": {
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
												},
												"uniqueItems": true
											},
											"binding": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string"
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													},
													"branch": {
														"type": "string",
														"minLength": 1
													},
													"commit": {
														"type": "string",
														"minLength": 1
													},
													"confirmedAt": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path"
												],
												"additionalProperties": false
											},
											"parent": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"documents": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"branch": {
															"type": "string",
															"minLength": 1
														},
														"commit": {
															"type": "string",
															"minLength": 1
														},
														"path": {
															"type": "string",
															"minLength": 1
														}
													},
													"required": [
														"repo",
														"path"
													],
													"additionalProperties": false
												}
											},
											"references": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"model": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}$"
														},
														"subject": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"state": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															]
														},
														"checkpoint": {
															"type": "string",
															"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
														}
													},
													"required": [
														"repo",
														"model",
														"subject",
														"state"
													],
													"additionalProperties": false
												}
											}
										},
										"required": [
											"order",
											"name",
											"kind"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"module"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-module"
									},
									"subject": {
										"type": "string",
										"minLength": 1,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									},
									"set": {
										"type": "object",
										"properties": {
											"order": {
												"type": "integer",
												"minimum": 0,
												"maximum": 9007199254740991
											},
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"kind": {
												"type": "string",
												"minLength": 1,
												"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
											},
											"responsibility": {
												"type": "string",
												"minLength": 1,
												"maxLength": 200,
												"pattern": "\\S"
											},
											"description": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"groups": {
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"pattern": "^[a-z0-9]+(?:[-_.][a-z0-9]+)*$"
												},
												"uniqueItems": true
											},
											"binding": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string"
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													},
													"branch": {
														"type": "string",
														"minLength": 1
													},
													"commit": {
														"type": "string",
														"minLength": 1
													},
													"confirmedAt": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path"
												],
												"additionalProperties": false
											},
											"parent": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"documents": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"branch": {
															"type": "string",
															"minLength": 1
														},
														"commit": {
															"type": "string",
															"minLength": 1
														},
														"path": {
															"type": "string",
															"minLength": 1
														}
													},
													"required": [
														"repo",
														"path"
													],
													"additionalProperties": false
												}
											},
											"references": {
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"repo": {
															"type": "string",
															"minLength": 1
														},
														"model": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}$"
														},
														"subject": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"state": {
															"anyOf": [
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}$"
																},
																{
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															]
														},
														"checkpoint": {
															"type": "string",
															"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
														}
													},
													"required": [
														"repo",
														"model",
														"subject",
														"state"
													],
													"additionalProperties": false
												}
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"responsibility",
												"description",
												"parent",
												"groups",
												"binding",
												"documents",
												"references"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-collection"
									},
									"name": {
										"type": "string",
										"minLength": 1,
										"maxLength": 120,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"name"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-collection"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"name": {
										"type": "string",
										"minLength": 1,
										"maxLength": 120,
										"allOf": [
											{
												"pattern": "\\S"
											},
											{
												"pattern": "^[^\\n]*$"
											}
										]
									}
								},
								"required": [
									"type",
									"collection",
									"name"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-collection"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									}
								},
								"required": [
									"type",
									"collection"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-flow"
									},
									"subject": {
										"type": "string",
										"minLength": 1
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-step"
									},
									"placement": {
										"type": "object",
										"properties": {
											"holder": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											},
											"alternative": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"before": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											}
										},
										"required": [
											"holder"
										],
										"additionalProperties": false
									},
									"step": {
										"$ref": "#/$defs/__schema0"
									}
								},
								"required": [
									"type",
									"placement",
									"step"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"set": {
										"type": "object",
										"properties": {
											"kind": {
												"type": "string",
												"enum": [
													"sync",
													"async",
													"return",
													"self"
												]
											},
											"from": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"to": {
												"type": "string",
												"minLength": 1,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"label": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"note": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"repeat": {
												"type": "integer",
												"minimum": 2,
												"maximum": 9007199254740991
											},
											"anchor": {
												"type": "object",
												"properties": {
													"repo": {
														"type": "string",
														"minLength": 1
													},
													"path": {
														"type": "string",
														"minLength": 1
													},
													"symbol": {
														"type": "string",
														"minLength": 1
													}
												},
												"required": [
													"repo",
													"path",
													"symbol"
												],
												"additionalProperties": false
											},
											"question": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"condition": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"alternatives": {
												"minItems": 2,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"maxLength": 60
												}
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"enum": [
												"note",
												"repeat",
												"anchor"
											]
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "move-step"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"placement": {
										"type": "object",
										"properties": {
											"holder": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											},
											"alternative": {
												"type": "string",
												"minLength": 1,
												"maxLength": 60
											},
											"before": {
												"type": "string",
												"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
											}
										},
										"required": [
											"holder"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"subject",
									"placement"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-flow"
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"flow": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"participants": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												}
											},
											"steps": {
												"minItems": 1,
												"type": "array",
												"items": {
													"$ref": "#/$defs/__schema0"
												}
											}
										},
										"required": [
											"name",
											"summary",
											"participants",
											"steps"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"collection",
									"flow"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-flow"
									},
									"subject": {
										"type": "string",
										"minLength": 1
									},
									"collection": {
										"type": "string",
										"minLength": 1
									},
									"set": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"participants": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "string",
													"minLength": 1,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												}
											}
										},
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "add-walkthrough"
									},
									"walkthrough": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"target": {
												"anyOf": [
													{
														"type": "object",
														"properties": {
															"state": {
																"type": "string",
																"minLength": 1
															}
														},
														"required": [
															"state"
														],
														"additionalProperties": false
													},
													{
														"type": "object",
														"properties": {
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"checkpoint"
														],
														"additionalProperties": false
													}
												]
											},
											"beats": {
												"minItems": 1,
												"type": "array",
												"items": {
													"type": "object",
													"properties": {
														"title": {
															"type": "string",
															"minLength": 1,
															"maxLength": 120,
															"allOf": [
																{
																	"pattern": "\\S"
																},
																{
																	"pattern": "^[^\\n]*$"
																}
															]
														},
														"narrative": {
															"type": "string",
															"minLength": 1,
															"maxLength": 2000,
															"pattern": "\\S"
														},
														"reading": {
															"type": "object",
															"properties": {
																"visibility": {
																	"type": "object",
																	"properties": {
																		"modules": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		},
																		"relationships": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		},
																		"flows": {
																			"type": "array",
																			"items": {
																				"type": "string",
																				"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																			}
																		}
																	},
																	"required": [
																		"modules",
																		"relationships",
																		"flows"
																	],
																	"additionalProperties": false
																},
																"scope": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																},
																"selection": {
																	"default": [],
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"focus": {
																	"default": [],
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"filters": {
																	"default": {
																		"relationships": [],
																		"groups": []
																	},
																	"type": "object",
																	"properties": {
																		"relationships": {
																			"type": "array",
																			"items": {
																				"type": "string"
																			}
																		},
																		"groups": {
																			"type": "array",
																			"items": {
																				"type": "string"
																			}
																		}
																	},
																	"required": [
																		"relationships",
																		"groups"
																	],
																	"additionalProperties": false
																},
																"grammar": {
																	"type": "string",
																	"enum": [
																		"architecture",
																		"sequence",
																		"flowchart"
																	]
																},
																"flow": {
																	"type": "string",
																	"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																}
															},
															"required": [
																"grammar"
															],
															"additionalProperties": false
														}
													},
													"required": [
														"title",
														"narrative",
														"reading"
													],
													"additionalProperties": false
												}
											}
										},
										"required": [
											"name",
											"target",
											"beats"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"type",
									"walkthrough"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "edit-walkthrough"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									},
									"set": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string",
												"minLength": 1,
												"maxLength": 120,
												"allOf": [
													{
														"pattern": "\\S"
													},
													{
														"pattern": "^[^\\n]*$"
													}
												]
											},
											"summary": {
												"type": "string",
												"minLength": 1,
												"maxLength": 2000,
												"pattern": "\\S"
											},
											"target": {
												"anyOf": [
													{
														"type": "object",
														"properties": {
															"state": {
																"type": "string",
																"minLength": 1
															}
														},
														"required": [
															"state"
														],
														"additionalProperties": false
													},
													{
														"type": "object",
														"properties": {
															"checkpoint": {
																"type": "string",
																"pattern": "^(?:[a-f0-9]{40}|[a-f0-9]{64})$"
															}
														},
														"required": [
															"checkpoint"
														],
														"additionalProperties": false
													}
												]
											}
										},
										"additionalProperties": false
									},
									"clear": {
										"type": "array",
										"items": {
											"type": "string",
											"const": "summary"
										}
									},
									"beats": {
										"minItems": 1,
										"type": "array",
										"items": {
											"type": "object",
											"properties": {
												"title": {
													"type": "string",
													"minLength": 1,
													"maxLength": 120,
													"allOf": [
														{
															"pattern": "\\S"
														},
														{
															"pattern": "^[^\\n]*$"
														}
													]
												},
												"narrative": {
													"type": "string",
													"minLength": 1,
													"maxLength": 2000,
													"pattern": "\\S"
												},
												"reading": {
													"type": "object",
													"properties": {
														"visibility": {
															"type": "object",
															"properties": {
																"modules": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"relationships": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																},
																"flows": {
																	"type": "array",
																	"items": {
																		"type": "string",
																		"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
																	}
																}
															},
															"required": [
																"modules",
																"relationships",
																"flows"
															],
															"additionalProperties": false
														},
														"scope": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														},
														"selection": {
															"default": [],
															"type": "array",
															"items": {
																"type": "string",
																"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
															}
														},
														"focus": {
															"default": [],
															"type": "array",
															"items": {
																"type": "string",
																"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
															}
														},
														"filters": {
															"default": {
																"relationships": [],
																"groups": []
															},
															"type": "object",
															"properties": {
																"relationships": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																},
																"groups": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																}
															},
															"required": [
																"relationships",
																"groups"
															],
															"additionalProperties": false
														},
														"grammar": {
															"type": "string",
															"enum": [
																"architecture",
																"sequence",
																"flowchart"
															]
														},
														"flow": {
															"type": "string",
															"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
														}
													},
													"required": [
														"grammar"
													],
													"additionalProperties": false
												},
												"id": {
													"type": "string",
													"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
												}
											},
											"required": [
												"title",
												"narrative",
												"reading"
											],
											"additionalProperties": false
										}
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"type": {
										"type": "string",
										"const": "remove-walkthrough"
									},
									"subject": {
										"type": "string",
										"pattern": "^[A-Za-z0-9-]{1,8}(?:\\/[A-Za-z0-9-]{1,8})?#[A-Za-z0-9-]{1,8}$"
									}
								},
								"required": [
									"type",
									"subject"
								],
								"additionalProperties": false
							}
						]
					}
				}
			},
			"required": [
				"target",
				"expectedRevision",
				"operationId",
				"writer",
				"claim",
				"changes"
			],
			"additionalProperties": false
		}
	],
	"$defs": {
		"__schema0": {
			"anyOf": [
				{
					"type": "object",
					"properties": {
						"id": {
							"not": {}
						},
						"from": {
							"type": "string",
							"minLength": 1,
							"allOf": [
								{
									"pattern": "\\S"
								},
								{
									"pattern": "^[^\\n]*$"
								}
							]
						},
						"to": {
							"type": "string",
							"minLength": 1,
							"allOf": [
								{
									"pattern": "\\S"
								},
								{
									"pattern": "^[^\\n]*$"
								}
							]
						},
						"label": {
							"type": "string",
							"minLength": 1,
							"maxLength": 60
						},
						"kind": {
							"default": "sync",
							"type": "string",
							"enum": [
								"sync",
								"async",
								"return",
								"self"
							]
						},
						"note": {
							"type": "string",
							"minLength": 1,
							"maxLength": 2000,
							"pattern": "\\S"
						},
						"repeat": {
							"type": "integer",
							"minimum": 2,
							"maximum": 9007199254740991
						},
						"anchor": {
							"type": "object",
							"properties": {
								"repo": {
									"type": "string",
									"minLength": 1
								},
								"path": {
									"type": "string",
									"minLength": 1
								},
								"symbol": {
									"type": "string",
									"minLength": 1
								}
							},
							"required": [
								"repo",
								"path",
								"symbol"
							],
							"additionalProperties": false
						}
					},
					"required": [
						"from",
						"to",
						"label"
					],
					"additionalProperties": false
				},
				{
					"type": "object",
					"properties": {
						"kind": {
							"type": "string",
							"const": "decision"
						},
						"question": {
							"type": "string",
							"minLength": 1,
							"maxLength": 60
						},
						"note": {
							"type": "string",
							"minLength": 1,
							"maxLength": 2000,
							"pattern": "\\S"
						},
						"alternatives": {
							"minItems": 2,
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"label": {
										"type": "string",
										"minLength": 1,
										"maxLength": 60
									},
									"steps": {
										"type": "array",
										"items": {
											"$ref": "#/$defs/__schema0"
										}
									}
								},
								"required": [
									"label",
									"steps"
								],
								"additionalProperties": false
							}
						}
					},
					"required": [
						"kind",
						"question",
						"alternatives"
					],
					"additionalProperties": false
				},
				{
					"type": "object",
					"properties": {
						"kind": {
							"type": "string",
							"const": "loop"
						},
						"condition": {
							"type": "string",
							"minLength": 1,
							"maxLength": 60
						},
						"note": {
							"type": "string",
							"minLength": 1,
							"maxLength": 2000,
							"pattern": "\\S"
						},
						"steps": {
							"minItems": 1,
							"type": "array",
							"items": {
								"$ref": "#/$defs/__schema0"
							}
						}
					},
					"required": [
						"kind",
						"condition",
						"steps"
					],
					"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."
		]
	}
}
