removedInput schema / properties / changes / items / anyOf
Removed value: -[
- {
- "additionalProperties": false,
- "properties": {
- "from": {
- "description": "Ids of the near-duplicates",
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "kind": {
- "enum": [
- "fact",
- "rule",
- "preference"
- ],
- "type": "string"
- },
- "pinned": {
- "description": "true when the memory changed is pinned: required for a pinned one, so the person sees it named",
- "type": "boolean"
- },
- "text": {
- "description": "The one memory that replaces them",
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "merge",
- "type": "string"
- }
- },
- "required": [
- "type",
- "from",
- "kind",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "pinned": {
- "$ref": "#/properties/changes/items/anyOf/0/properties/pinned"
- },
- "reason": {
- "type": "string"
- },
- "text": {
- "description": "The new text (generalise specific feedback into a rule)",
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "rewrite",
- "type": "string"
- }
- },
- "required": [
- "type",
- "id",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "pinned": {
- "$ref": "#/properties/changes/items/anyOf/0/properties/pinned"
- },
- "reason": {
- "description": "Why: stale, or replaced by a newer memory",
- "minLength": 1,
- "type": "string"
- },
- "replaced_by": {
- "description": "The memory that replaces it, if any",
- "type": "string"
- },
- "type": {
- "const": "retire",
- "type": "string"
- }
- },
- "required": [
- "type",
- "id",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "pinned": {
- "$ref": "#/properties/changes/items/anyOf/0/properties/pinned"
- },
- "reason": {
- "description": "Why it no longer needs to be in every brief",
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "unpin",
- "type": "string"
- }
- },
- "required": [
- "type",
- "id",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "$ref": "#/properties/changes/items/anyOf/0/properties/kind"
- },
- "text": {
- "description": "A pattern across many runs, or the \"So far\" summary of run history",
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "add",
- "type": "string"
- }
- },
- "required": [
- "type",
- "kind",
- "text"
- ],
- "type": "object"
- }
-]
addedInput schema / properties / changes / items / oneOf
Added value: +[
+ {
+ "properties": {
+ "from": {
+ "description": "Ids of the near-duplicates",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "fact",
+ "rule",
+ "preference"
+ ],
+ "type": "string"
+ },
+ "pinned": {
+ "description": "true when the memory changed is pinned: required for a pinned one, so the person sees it named",
+ "type": "boolean"
+ },
+ "text": {
+ "description": "The one memory that replaces them",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "merge",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "from",
+ "kind",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "pinned": {
+ "description": "true when the memory changed is pinned: required for a pinned one, so the person sees it named",
+ "type": "boolean"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "text": {
+ "description": "The new text (generalise specific feedback into a rule)",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "rewrite",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "pinned": {
+ "description": "true when the memory changed is pinned: required for a pinned one, so the person sees it named",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "Why: stale, or replaced by a newer memory",
+ "minLength": 1,
+ "type": "string"
+ },
+ "replaced_by": {
+ "description": "The memory that replaces it, if any",
+ "type": "string"
+ },
+ "type": {
+ "const": "retire",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "pinned": {
+ "description": "true when the memory changed is pinned: required for a pinned one, so the person sees it named",
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "Why it no longer needs to be in every brief",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "unpin",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "kind": {
+ "enum": [
+ "fact",
+ "rule",
+ "preference"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "description": "A pattern across many runs, or the \"So far\" summary of run history",
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "add",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "kind",
+ "text"
+ ],
+ "type": "object"
+ }
+]