{"openapi":"3.0.3","info":{"title":"API","description":"Generated by genpjrpc: v0.5.0","version":"v0.0.0-unknown"},"servers":[{"url":"/"}],"paths":{"/#create_account":{"post":{"operationId":"create_account","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_account"]},"params":{"$ref":"#/components/schemas/rpc.CreateAccountRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateAccountResponse"}}}}}}}}},"/#get_account_list":{"post":{"operationId":"get_account_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account_list"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountListResponse"}}}}}}}}},"/#get_account":{"post":{"operationId":"get_account","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountResponse"}}}}}}}}},"/#update_account":{"post":{"operationId":"update_account","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_account"]},"params":{"$ref":"#/components/schemas/rpc.UpdateAccountRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateAccountResponse"}}}}}}}}},"/#create_session":{"post":{"operationId":"create_session","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_session"]},"params":{"$ref":"#/components/schemas/rpc.CreateSessionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateSessionResponse"}}}}}}}}},"/#delete_session":{"post":{"operationId":"delete_session","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_session"]},"params":{"$ref":"#/components/schemas/rpc.DeleteSessionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteSessionResponse"}}}}}}}}},"/#create_problem":{"post":{"operationId":"create_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_problem"]},"params":{"$ref":"#/components/schemas/rpc.CreateProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateProblemResponse"}}}}}}}}},"/#get_problem_snippet_list":{"post":{"operationId":"get_problem_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemSnippetListResponse"}}}}}}}}},"/#get_problem":{"post":{"operationId":"get_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemResponse"}}}}}}}}},"/#update_problem":{"post":{"operationId":"update_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_problem"]},"params":{"$ref":"#/components/schemas/rpc.UpdateProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateProblemResponse"}}}}}}}}},"/#delete_problem":{"post":{"operationId":"delete_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_problem"]},"params":{"$ref":"#/components/schemas/rpc.DeleteProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteProblemResponse"}}}}}}}}},"/#create_test_case":{"post":{"operationId":"create_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_test_case"]},"params":{"$ref":"#/components/schemas/rpc.CreateTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateTestCaseResponse"}}}}}}}}},"/#create_test_case_list":{"post":{"operationId":"create_test_case_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_test_case_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_test_case_list"]},"params":{"$ref":"#/components/schemas/rpc.CreateTestCaseListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_test_case_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateTestCaseListResponse"}}}}}}}}},"/#get_problem_test_case_snippet_list":{"post":{"operationId":"get_problem_test_case_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem_test_case_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem_test_case_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemTestCaseSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem_test_case_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemTestCaseSnippetListResponse"}}}}}}}}},"/#get_test_case":{"post":{"operationId":"get_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_test_case"]},"params":{"$ref":"#/components/schemas/rpc.GetTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetTestCaseResponse"}}}}}}}}},"/#update_test_case":{"post":{"operationId":"update_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_test_case"]},"params":{"$ref":"#/components/schemas/rpc.UpdateTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateTestCaseResponse"}}}}}}}}},"/#delete_test_case":{"post":{"operationId":"delete_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_test_case"]},"params":{"$ref":"#/components/schemas/rpc.DeleteTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteTestCaseResponse"}}}}}}}}},"/#get_account_problem_snippet_list":{"post":{"operationId":"get_account_problem_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account_problem_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountProblemSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountProblemSnippetListResponse"}}}}}}}}},"/#create_submission":{"post":{"operationId":"create_submission","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_submission"]},"params":{"$ref":"#/components/schemas/rpc.CreateSubmissionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateSubmissionResponse"}}}}}}}}},"/#get_submission_snippet_list":{"post":{"operationId":"get_submission_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_submission_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetSubmissionSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetSubmissionSnippetListResponse"}}}}}}}}},"/#get_submission":{"post":{"operationId":"get_submission","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_submission"]},"params":{"$ref":"#/components/schemas/rpc.GetSubmissionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetSubmissionResponse"}}}}}}}}},"/#delete_submission":{"post":{"operationId":"delete_submission","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_submission"]},"params":{"$ref":"#/components/schemas/rpc.DeleteSubmissionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteSubmissionResponse"}}}}}}}}},"/#get_account_submission_snippet_list":{"post":{"operationId":"get_account_submission_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account_submission_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountSubmissionSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountSubmissionSnippetListResponse"}}}}}}}}},"/#get_problem_submission_snippet_list":{"post":{"operationId":"get_problem_submission_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem_submission_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemSubmissionSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemSubmissionSnippetListResponse"}}}}}}}}}},"components":{"schemas":{"_rpcError":{"title":"rpcError","description":"REQUIRED on error. This member MUST NOT exist if there was no error triggered during invocation.","type":"object","properties":{"code":{"description":"A Number that indicates the error type that occurred.","type":"integer","format":"int64"},"message":{"description":"A String providing a short description of the error.","type":"string"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.","type":"object"}}},"rpc.Account":{"type":"object","required":["ID","AccountName","DisplayName","Role"],"properties":{"ID":{"type":"integer","format":"uint64"},"AccountName":{"type":"string"},"DisplayName":{"type":"string"},"Role":{"oneOf":[{"$ref":"#/components/schemas/rpc.AccountRole"}]}}},"rpc.AccountRole":{"description":"* `admin` - \n* `problem_setter` - \n* `contestant` - \n* `worker` - ","type":"string","enum":["admin","problem_setter","contestant","worker"]},"rpc.CreateAccountRequest":{"type":"object","required":["AccountName","DisplayName","Role","Password"],"properties":{"AccountName":{"type":"string"},"DisplayName":{"type":"string"},"Role":{"oneOf":[{"$ref":"#/components/schemas/rpc.AccountRole"}]},"Password":{"type":"string"}}},"rpc.CreateAccountResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.CreateProblemRequest":{"type":"object","required":["DisplayName","Description","TimeLimitInMillisecond","MemoryLimitInByte","ExampleList"],"properties":{"DisplayName":{"type":"string"},"Description":{"type":"string"},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"ExampleList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemExample"}}}},"rpc.CreateProblemResponse":{"type":"object","required":["ID","DisplayName","Author","Description","TimeLimitInMillisecond","MemoryLimitInByte","ExampleList","CreatedTime","UpdatedTime"],"properties":{"ID":{"type":"integer","format":"uint64"},"DisplayName":{"type":"string"},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Description":{"type":"string"},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"ExampleList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemExample"}},"CreatedTime":{"type":"integer","format":"uint64"},"UpdatedTime":{"type":"integer","format":"uint64"}}},"rpc.CreateSessionRequest":{"type":"object","required":["AccountName","Password"],"properties":{"AccountName":{"type":"string"},"Password":{"type":"string"}}},"rpc.CreateSessionResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.CreateSubmissionRequest":{"type":"object","required":["ProblemID","AuthorAccountID","Content","Language"],"properties":{"ProblemID":{"type":"integer","format":"uint64"},"AuthorAccountID":{"type":"integer","format":"uint64"},"Content":{"type":"string"},"Language":{"type":"string"}}},"rpc.CreateSubmissionResponse":{"type":"object","required":["Problem"],"properties":{"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.Problem"}]}}},"rpc.CreateTestCaseListRequest":{"type":"object","required":["ProblemID","ZippedTestData"],"properties":{"ProblemID":{"type":"integer","format":"uint64"},"ZippedTestData":{"type":"array","items":{"type":"integer","format":"uint8"}}}},"rpc.CreateTestCaseListResponse":{"type":"object"},"rpc.CreateTestCaseRequest":{"type":"object","required":["ProblemID","Input","Output","IsHidden"],"properties":{"ProblemID":{"type":"integer","format":"uint64"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.CreateTestCaseResponse":{"type":"object","required":["TestCaseSnippet"],"properties":{"TestCaseSnippet":{"oneOf":[{"$ref":"#/components/schemas/rpc.TestCaseSnippet"}]}}},"rpc.DeleteProblemRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.DeleteProblemResponse":{"type":"object"},"rpc.DeleteSessionRequest":{"type":"object"},"rpc.DeleteSessionResponse":{"type":"object"},"rpc.DeleteSubmissionRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.DeleteSubmissionResponse":{"type":"object"},"rpc.DeleteTestCaseRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.DeleteTestCaseResponse":{"type":"object"},"rpc.GetAccountListRequest":{"type":"object","required":["Offset","Limit"],"properties":{"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetAccountListResponse":{"type":"object","required":["TotalAccountCount","AccountList"],"properties":{"TotalAccountCount":{"type":"integer","format":"uint64"},"AccountList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.Account"}}}},"rpc.GetAccountProblemSnippetListRequest":{"type":"object","required":["AccountID","Offset","Limit"],"properties":{"AccountID":{"type":"integer","format":"uint64"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetAccountProblemSnippetListResponse":{"type":"object","required":["TotalProblemCount","ProblemSnippetList"],"properties":{"TotalProblemCount":{"type":"integer","format":"uint64"},"ProblemSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.Problem"}}}},"rpc.GetAccountRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.GetAccountResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.GetAccountSubmissionSnippetListRequest":{"type":"object","required":["AccountID","Offset","Limit"],"properties":{"AccountID":{"type":"integer","format":"uint64"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetAccountSubmissionSnippetListResponse":{"type":"object","required":["TotalSubmissionCount","SubmissionSnippetList"],"properties":{"TotalSubmissionCount":{"type":"integer","format":"uint64"},"SubmissionSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}}}},"rpc.GetProblemRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.GetProblemResponse":{"type":"object","required":["Problem"],"properties":{"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.Problem"}]}}},"rpc.GetProblemSnippetListRequest":{"type":"object","required":["Offset","Limit"],"properties":{"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetProblemSnippetListResponse":{"type":"object","required":["TotalProblemCount","ProblemSnippetList"],"properties":{"TotalProblemCount":{"type":"integer","format":"uint64"},"ProblemSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.Problem"}}}},"rpc.GetProblemSubmissionSnippetListRequest":{"type":"object","required":["ProblemID","Offset","Limit"],"properties":{"ProblemID":{"type":"integer","format":"uint64"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetProblemSubmissionSnippetListResponse":{"type":"object","required":["TotalSubmissionCount","SubmissionSnippetList"],"properties":{"TotalSubmissionCount":{"type":"integer","format":"uint64"},"SubmissionSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}}}},"rpc.GetProblemTestCaseSnippetListRequest":{"type":"object","required":["ProblemID","Offset","Limit"],"properties":{"ProblemID":{"type":"integer","format":"uint64"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetProblemTestCaseSnippetListResponse":{"type":"object","required":["TotalTestCaseCount","TestCaseSnippetList"],"properties":{"TotalTestCaseCount":{"type":"integer","format":"uint64"},"TestCaseSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.TestCaseSnippet"}}}},"rpc.GetSubmissionRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.GetSubmissionResponse":{"type":"object","required":["Submission"],"properties":{"Submission":{"oneOf":[{"$ref":"#/components/schemas/rpc.Submission"}]}}},"rpc.GetSubmissionSnippetListRequest":{"type":"object","required":["Offset","Limit"],"properties":{"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetSubmissionSnippetListResponse":{"type":"object","required":["TotalSubmissionCount","SubmissionSnippetList"],"properties":{"TotalSubmissionCount":{"type":"integer","format":"uint64"},"SubmissionSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}}}},"rpc.GetTestCaseRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.GetTestCaseResponse":{"type":"object","required":["TestCase"],"properties":{"TestCase":{"oneOf":[{"$ref":"#/components/schemas/rpc.TestCase"}]}}},"rpc.Problem":{"type":"object","required":["ID","DisplayName","Author","Description","TimeLimitInMillisecond","MemoryLimitInByte","ExampleList","CreatedTime","UpdatedTime"],"properties":{"ID":{"type":"integer","format":"uint64"},"DisplayName":{"type":"string"},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Description":{"type":"string"},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"ExampleList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemExample"}},"CreatedTime":{"type":"integer","format":"uint64"},"UpdatedTime":{"type":"integer","format":"uint64"}}},"rpc.ProblemExample":{"type":"object","required":["ID","Input","Output"],"properties":{"ID":{"type":"integer","format":"uint64"},"Input":{"type":"string"},"Output":{"type":"string"}}},"rpc.Submission":{"type":"object","required":["ID","Problem","Author","Content","Language","Status","Result","CreatedTime"],"properties":{"ID":{"type":"integer","format":"uint64"},"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionProblemSnippet"}]},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Content":{"type":"string"},"Language":{"type":"string"},"Status":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionStatus"}]},"Result":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionResult"}]},"CreatedTime":{"type":"integer","format":"uint64"}}},"rpc.SubmissionProblemSnippet":{"type":"object","required":["ID","DisplayName"],"properties":{"ID":{"type":"integer","format":"uint64"},"DisplayName":{"type":"string"}}},"rpc.SubmissionResult":{"description":"* `1` - \n* `2` - \n* `3` - \n* `4` - \n* `5` - \n* `6` - ","type":"integer","enum":[1,2,3,4,5,6]},"rpc.SubmissionSnippet":{"type":"object","required":["ID","Problem","Author","Language","Status","Result","CreatedTime"],"properties":{"ID":{"type":"integer","format":"uint64"},"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionProblemSnippet"}]},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Language":{"type":"string"},"Status":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionStatus"}]},"Result":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionResult"}]},"CreatedTime":{"type":"integer","format":"uint64"}}},"rpc.SubmissionStatus":{"description":"* `1` - \n* `2` - \n* `3` - ","type":"integer","enum":[1,2,3]},"rpc.TestCase":{"type":"object","required":["ID","Input","Output","IsHidden"],"properties":{"ID":{"type":"integer","format":"uint64"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.TestCaseSnippet":{"type":"object","required":["ID","Input","Output","IsHidden"],"properties":{"ID":{"type":"integer","format":"uint64"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.UpdateAccountRequest":{"type":"object","required":["ID","DisplayName","Role"],"properties":{"ID":{"type":"integer","format":"uint64"},"DisplayName":{"type":"string"},"Role":{"oneOf":[{"$ref":"#/components/schemas/rpc.AccountRole"}]}}},"rpc.UpdateAccountResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.UpdateProblemRequest":{"type":"object","required":["ID","DisplayName","Description","TimeLimitInMillisecond","MemoryLimitInByte","ExampleList"],"properties":{"ID":{"type":"integer","format":"uint64"},"DisplayName":{"type":"string"},"Description":{"type":"string"},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"ExampleList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemExample"}}}},"rpc.UpdateProblemResponse":{"type":"object","required":["Problem"],"properties":{"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.Problem"}]}}},"rpc.UpdateTestCaseRequest":{"type":"object","required":["ID","Input","Output","IsHidden"],"properties":{"ID":{"type":"integer","format":"uint64"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.UpdateTestCaseResponse":{"type":"object","required":["TestCase"],"properties":{"TestCase":{"oneOf":[{"$ref":"#/components/schemas/rpc.TestCase"}]}}}}}}