{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://stride-tasks.github.io/stride/api/method/repository.project.list.schema.json",
    "type": "object",
    "properties": {
        "method": {
            "type": "string",
            "const": "repository.project.list"
        },
        "params": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "string",
                    "format": "uuid",
                    "description": "The unique identifier of the repository whose projects should be listed."
                }
            },
            "required": [
                "id"
            ]
        },
        "result": {
            "type": "object",
            "properties": {
                "projects": {
                    "type": "array",
                    "description": "All non-deleted project names stored in the repository database.",
                    "items": {
                        "type": "string",
                        "description": "The project name."
                    }
                }
            },
            "required": [
                "projects"
            ]
        }
    },
    "required": [
        "method",
        "params"
    ]
}