{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/citeerbaar-nl/json-schema/citeerbaar-nl-json-rpc-response-schema.json",
  "title": "JsonRpcResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/citeerbaar-nl-openapi.json#/components/schemas/JsonRpcResponse",
  "type": "object",
  "required": [
    "jsonrpc",
    "id"
  ],
  "properties": {
    "jsonrpc": {
      "type": "string",
      "const": "2.0"
    },
    "id": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "result": {
      "type": "object",
      "additionalProperties": true
    },
    "error": {
      "type": "object",
      "required": [
        "code",
        "message"
      ],
      "properties": {
        "code": {
          "type": "integer"
        },
        "message": {
          "type": "string",
          "description": "Engels."
        },
        "data": {
          "type": "object",
          "properties": {
            "message_nl": {
              "type": "string"
            }
          },
          "additionalProperties": true
        }
      }
    }
  }
}