{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "description": "Invalid request parameters",
          "name": "InvalidRequest"
        },
        {
          "description": "Repository not found",
          "name": "RepoNotFound"
        },
        {
          "description": "No branch or tag of the repository has this name",
          "name": "RefNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "workflows": {
              "items": {
                "ref": "org.tangled.ci.defs#workflow",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "workflows"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "ref": {
            "default": "HEAD",
            "maxLength": 256,
            "type": "string"
          },
          "repo": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "repo"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "org.tangled.ci.listWorkflowDefinitions",
  "lexicon": 1
}
