org.tangled.git.defs

tangled.org

Documentation

byteChanges object

No description available.

Properties

lhs integer Required

No description available.

minimum: 0
rhs integer Required

No description available.

minimum: 0
View raw schema
{
  "properties": {
    "lhs": {
      "minimum": 0,
      "type": "integer"
    },
    "rhs": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "lhs",
    "rhs"
  ],
  "type": "object"
}
commit object

No description available.

Properties

author ref #signature Required

No description available.

committer ref #signature Required

No description available.

hash string Required

Commit Object ID

message string Required

No description available.

tree string Required

Tree Object ID

View raw schema
{
  "properties": {
    "author": {
      "ref": "#signature",
      "type": "ref"
    },
    "committer": {
      "ref": "#signature",
      "type": "ref"
    },
    "hash": {
      "description": "Commit Object ID",
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "tree": {
      "description": "Tree Object ID",
      "type": "string"
    }
  },
  "required": [
    "hash",
    "author",
    "committer",
    "message",
    "tree"
  ],
  "type": "object"
}
diffHunk object

No description available.

Properties

lines array of ref#linePair Required

No description available.

novelLhs array of integer Required

0-based line numbers holding novel content on the left side

novelRhs array of integer Required

0-based line numbers holding novel content on the right side

View raw schema
{
  "properties": {
    "lines": {
      "items": {
        "ref": "#linePair",
        "type": "ref"
      },
      "type": "array"
    },
    "novelLhs": {
      "description": "0-based line numbers holding novel content on the left side",
      "items": {
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    },
    "novelRhs": {
      "description": "0-based line numbers holding novel content on the right side",
      "items": {
        "minimum": 0,
        "type": "integer"
      },
      "type": "array"
    }
  },
  "required": [
    "novelLhs",
    "novelRhs",
    "lines"
  ],
  "type": "object"
}
diffSrc object

One side of a file diff.

Properties

content string Optional

Inlined content. Used on interdiff's LHS.

isBinary boolean Required

No description available.

isSubmodule boolean Required

No description available.

oid string Required

Blob oid, or the commit oid for a submodule

path string Required

No description available.

size integer Required

No description available.

minimum: 0
View raw schema
{
  "description": "One side of a file diff.",
  "properties": {
    "content": {
      "description": "Inlined content. Used on interdiff's LHS.",
      "type": "string"
    },
    "isBinary": {
      "type": "boolean"
    },
    "isSubmodule": {
      "type": "boolean"
    },
    "oid": {
      "description": "Blob oid, or the commit oid for a submodule",
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "size": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "path",
    "oid",
    "size",
    "isBinary",
    "isSubmodule"
  ],
  "type": "object"
}
diffStat object

No description available.

Properties

deletions integer Required

No description available.

minimum: 0
filesChanged integer Required

No description available.

minimum: 0
insertions integer Required

No description available.

minimum: 0
View raw schema
{
  "properties": {
    "deletions": {
      "minimum": 0,
      "type": "integer"
    },
    "filesChanged": {
      "minimum": 0,
      "type": "integer"
    },
    "insertions": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "insertions",
    "deletions",
    "filesChanged"
  ],
  "type": "object"
}
fileDiff object

No description available.

Properties

hasByteChanges ref #byteChanges Optional

Byte count per side, present only when the two sides differ

hasSyntacticChanges boolean Required

No description available.

hunks array of ref#diffHunk Required

No description available.

lhsSrc ref #diffSrc Required

No description available.

rhsSrc ref #diffSrc Required

No description available.

View raw schema
{
  "properties": {
    "hasByteChanges": {
      "description": "Byte count per side, present only when the two sides differ",
      "ref": "#byteChanges",
      "type": "ref"
    },
    "hasSyntacticChanges": {
      "type": "boolean"
    },
    "hunks": {
      "items": {
        "ref": "#diffHunk",
        "type": "ref"
      },
      "type": "array"
    },
    "lhsSrc": {
      "ref": "#diffSrc",
      "type": "ref"
    },
    "rhsSrc": {
      "ref": "#diffSrc",
      "type": "ref"
    }
  },
  "required": [
    "lhsSrc",
    "rhsSrc",
    "hunks",
    "hasSyntacticChanges"
  ],
  "type": "object"
}
linePair object

One aligned line pair; a side is absent when that side has no line.

Properties

lhs integer Optional

No description available.

minimum: 0
rhs integer Optional

No description available.

minimum: 0
View raw schema
{
  "description": "One aligned line pair; a side is absent when that side has no line.",
  "properties": {
    "lhs": {
      "minimum": 0,
      "type": "integer"
    },
    "rhs": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "type": "object"
}
signature object

No description available.

Properties

email string Required

Person email

name string Required

Person name

when string datetime Required

Timestamp of the signature

View raw schema
{
  "properties": {
    "email": {
      "description": "Person email",
      "type": "string"
    },
    "name": {
      "description": "Person name",
      "type": "string"
    },
    "when": {
      "description": "Timestamp of the signature",
      "format": "datetime",
      "type": "string"
    }
  },
  "required": [
    "name",
    "email",
    "when"
  ],
  "type": "object"
}
submodule object

No description available.

Properties

branch string Optional

Branch to track in the submodule

name string Required

Submodule name

url string Required

Submodule repository URL

View raw schema
{
  "properties": {
    "branch": {
      "description": "Branch to track in the submodule",
      "type": "string"
    },
    "name": {
      "description": "Submodule name",
      "type": "string"
    },
    "url": {
      "description": "Submodule repository URL",
      "type": "string"
    }
  },
  "required": [
    "name",
    "url"
  ],
  "type": "object"
}

Lexicon Garden

@