{
  "$id": "https://vriesdemichael.github.io/bitbucket-server-cli/latest/reference/schemas/output/output.repo.list.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "JSON output schema for `bb repo list --json`. Data is an array of repository objects.",
  "properties": {
    "data": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "archived": {
            "type": "boolean"
          },
          "defaultBranch": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "forkable": {
            "type": "boolean"
          },
          "hierarchyId": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "statusMessage": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "contract": {
          "const": "bb.machine"
        }
      },
      "required": [
        "contract"
      ],
      "type": "object"
    },
    "version": {
      "const": "v2"
    }
  },
  "required": [
    "version",
    "data",
    "meta"
  ],
  "title": "bb repo list output",
  "type": "object"
}
