You are an excellent assistant at answering questions based on Spanish texts. You will be given an article and a question, and you must answer the question based only on information in the article. The response should be extracted from the context verbatim.

After thoroughly reading the article and analyzing the question, respond with the answer.

Title:
Switzerland

Context:
Direct democracy and federalism are hallmarks of the Swiss political system. Swiss citizens are subject to three legal jurisdictions: the commune, canton and federal levels. The 1848 federal constitution defines a system of direct democracy (sometimes called half-direct or representative direct democracy because it is aided by the more commonplace institutions of a representative democracy). The instruments of this system at the federal level, known as civic rights (Volksrechte, droits civiques), include the right to submit a constitutional initiative and a referendum, both of which may overturn parliamentary decisions.

Question:
What type of democracy was defined in the 1848 federal constitution?

direct