changedOutput schema / properties / lens / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "components": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "context": {
- "type": "boolean"
- },
- "delta": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "kind": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "path": {
- "type": "string"
- },
- "role": {
- "type": [
- "string",
- "null"
- ]
- },
- "symbols": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "id",
- "name",
- "kind",
- "delta",
- "context",
- "role",
- "path",
- "symbols"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "flows": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "to": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "from",
- "to",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "layers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "quotes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "steps": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "type": [
- "string",
- "null"
- ]
- },
- "components": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "diff": {
- "type": "string"
- },
- "files": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "id": {
- "type": "string"
- },
- "symbols": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "base": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "end": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "start": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "start",
- "end"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "basePath": {
- "type": [
- "string",
- "null"
- ]
- },
- "head": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "end": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "start": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "start",
- "end"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "type": "string"
- },
- "path": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "path",
- "basePath",
- "base",
- "head"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "body",
- "components",
- "files",
- "diff"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "summary": {
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "type": "string"
- },
- "words": {
- "additionalProperties": false,
- "properties": {
- "author": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "source",
- "author"
- ],
- "type": "object"
- }
- },
- "required": [
- "title",
- "words",
- "summary",
- "steps",
- "components",
- "layers",
- "flows"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "components": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "context": {
+ "type": "boolean"
+ },
+ "delta": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "role": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "symbols": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "kind",
+ "delta",
+ "context",
+ "role",
+ "path",
+ "symbols"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "dependencies": {
+ "additionalProperties": false,
+ "properties": {
+ "facts": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "description": "The links the range added or removed that make it, at most 3",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "from": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "path": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "label",
+ "path"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "description": "new, gone, both (each now depends on the other) or count (a dependency that grew or shrank)",
+ "type": "string"
+ },
+ "level": {
+ "description": "area or layer",
+ "type": "string"
+ },
+ "sentence": {
+ "type": "string"
+ },
+ "steps": {
+ "description": "The ids of the steps that hold it",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "to": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "path": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "label",
+ "path"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "sentence",
+ "level",
+ "kind",
+ "from",
+ "to",
+ "evidence",
+ "steps"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "more": {
+ "description": "How many more facts past these",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "facts",
+ "more"
+ ],
+ "type": "object"
+ },
+ "flows": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "from",
+ "to",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "layers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "quotes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "components": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dependencies": {
+ "description": "The sentences of the step's own facts",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "diff": {
+ "type": "string"
+ },
+ "files": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "rules": {
+ "description": "The texts of the rules that name links it holds",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "symbols": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "base": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "start": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "start",
+ "end"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "basePath": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "head": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "end": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "start": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "start",
+ "end"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "path",
+ "basePath",
+ "base",
+ "head"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "body",
+ "components",
+ "files",
+ "diff"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "words": {
+ "additionalProperties": false,
+ "properties": {
+ "author": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source",
+ "author"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "title",
+ "words",
+ "summary",
+ "steps",
+ "components",
+ "layers",
+ "flows"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
addedOutput schema / properties / rules
Added value: +{
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "file": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "added": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "removed": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "added",
+ "removed"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The rules the range adds to and removes from .shadowgit-rules; null when it leaves the file alone"
+ },
+ "matches": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "description": "How many links the range adds that the rule names",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "links": {
+ "description": "The first links, in words; count has them all",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "rule": {
+ "additionalProperties": false,
+ "properties": {
+ "because": {
+ "description": "Its reason, as written after \"because\"",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "form": {
+ "description": "never, only or nothing",
+ "type": "string"
+ },
+ "from": {
+ "description": "The names on its first side; none for a nothing-rule",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "line": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "text": {
+ "description": "The rule as written, without its reason",
+ "type": "string"
+ },
+ "to": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "line",
+ "text",
+ "form",
+ "from",
+ "to",
+ "because"
+ ],
+ "type": "object"
+ },
+ "steps": {
+ "description": "The ids of the steps that hold them",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "rule",
+ "count",
+ "links",
+ "steps"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "rules": {
+ "description": "How many rules it was checked against",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "rules",
+ "matches",
+ "file"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The range checked against the project's rules, also for a range with no lens; null without rules"
+}