LexML Brasil (or LexML-BR or LexML Brazil) is a project of Brazil's Electronic Government initiative. Its objective is to establish open data systems, integrate work processes and share data, in the context of identifying and structuring executive, legislative and judiciary documents. The LexML-BR standards define a set of simple technology-neutral electronic protocols and representations, based on XML and HTTP ecossistem.
While the project was officially launched on June 30, 2009, Brazil has been participating in the LexML community since 2006. In 2009, LexML became an explicit national data standard in the "pt:e-PING".
In May, 2012, Brazil's "Public Access to Information" law (Lei de Acesso a Informações Públicas) entered into force, which strengthened the standing of LexML as a transparency tool that could assist in carrying out the obligation to publish government data in the areas of legislative and court documents.
- XML-Schema of the full text of laws (in accordance with LCP-95). Technical Norm "LexML-BR Part 3".
- URN Lex schema, for reference to and nomenclature of the norms. Technical norm "LexML-BR Parte 2" 
- OAI-PMH protocol for the exchange and centralization of metadata. Technical norm "LexML-BR Part 4".
The main resources needed for the project are already in place:
- Permanent URLs (PURL) for the URN resolvers: http://www.lexml.gov.br/urn
- Website search engine for laws, http://www.lexml.gov.br. Site specialized in laws, decrees, agreements and bills, among other documents at the federal, state and municipal level in all of Brazil.
- A toolset for the production and conversion of documents into specified formats.
An early development at Brazil occurred at 1997, in a scholar initiative, with the modeling of the structure of Brazilians legislative documents, and the demonstration that all legislative documents can be automatically translated to HTML hypertext, with intra and inter links. The seminal algorithms (implemented as Perl scripts and regular expressions) was lost one decade, rediscovered during the development of an important LexML tool, the lexml-linker. Some scholar studies continued, and served as support to redirect the initial LexML-BR focus on XML schemas to metadata and URN schemas.
It is now a joint initiative of many administrative bodies, including Brazil's legislature, executive and judiciary branches, part of the IT Management Community, which combines the areas of legislative and court information.
The goals of the LexML Brazil project can be divided into two main areas:
- LexML 1.0: consists of the search engine, resolver service, generation of persistent identifiers and a "link service".
- LexML 2.0 (from 2010): wider adoption of open source tools for the production of documents, in accordance with the "LexML Brazil XML Schema".
|Government level||Documents produced|
Only law documents of "top hierarchy regulations".
In addition to the legal requirements in Brazil for transparency and publication of government documents (see Motivations), the sheer volume of legislation places a premium on digitization and better public access to digital forms of the law.
In 20 years, Brazil has produced approximately:
- federal laws: 150 thousand, an average of 21 per day.
- state laws: 1 million. On average 27 states produce 5 laws per day (135 laws per day total).
- municipal laws: 2.6 million laws, on average each of the 5700 municipalities produce 4 laws per week (360 laws per day in total).
- LexML standards was recommended in Documento de Referência e-PING v2010, section 10.5, "Areas of Integration for Electronic Government: Technical Specifications".
- LexML continues to have the status "Adopted" in the 2016 e-PING, Table 16.
- Lei Federal 12.527 de 2011.
- "LexML Brasil, Parte 3 - LexML XML Schema, version 1.0", J.A.O. Lima, F. Ciciliati e GT LexML. Dezembro de 2008. Available at projeto.lexml.gov.br
- Lima JAO, Palmirani M e Vitali F, "'http' or 'urn' URIs for legal resources? How about both?" em: "Standards for Legislative XML", 2007, Leiden, Holanda. Proceedings of Standards for Legislative XML, 2007. Disponível em leibnizcenter.org/~winkels Archived 2008-11-20 at the Wayback Machine.
- A Uniform Resource Name (URN) Namespace for Sources of Law (LEX), IETF http://tools.ietf.org/html/draft-spinosa-urn-lex-04
- "LexML Brasil, Part 2 - LexML URN, version 1.0", J.A.O. Lima, F. Ciciliati e GT LexML. December 2008. Available in projeto.lexml.gov.br
- "LexML Brasil, Part 4 - Collection of Metadata, version 1.0", J.A.O. Lima, F. Ciciliati e GT LexML. December 2008. Available at projeto.lexml.gov.br
- "Prefeitura ajuda a elaborar portal de pesquisa de leis do Senado", article available here: portal de São Carlos/SP.
- Adaptation of the sistema SAPL Archived 2011-02-09 at the Wayback Machine to LexML.
- Alessandra Dorante (1997), "Investigação de processo de conversão automática de textos estruturados para hiperdocumentos", Dissertação (Mestrado).
- Krauss and Lima (2004) "Notação canônica para a citação de trechos de normas estatutárias jurídicas brasileiras", In: TIL2003, "1º Workshop em Tecnologia da Informação e da Linguagem Humana, 2003".
- LexML Brasil Schema, "Presentation, version 1.0". J.A.O. Lima, F. Ciciliati e GT LexML. December 2008. Available in projeto.lexml.gov.br
- Interview available in Blog Chapa Branca Archived 2014-08-07 at the Wayback Machine
- consultas.governoeletronico.gov.br Consulta: 0017 - Projeto LexML Brasil Archived 2016-03-03 at the Wayback Machine, 2008-09-17.
- "Portal LEXML, o 'Google das Leis', busca a adesão dos Estados e municípios", notícia da Convergencia Digital
- "Senado lança na terça-feira rede de informação legislativa e jurídica" news release from Brazilian Senate
- Launch program agenda Archived 2009-07-04 at the Wayback Machine.
"Quantidade de Normas Editadas no Brasil: Período 05/10/1988 a 05/10/2004",
G.L. Amaral e colaboradores.
Instituto Brasileiro de Planejamento Tributário (IBPT), Curitiba, Paraná, 2005.
Ver também, dos mesmos autores, "Quantidade de Normas Editadas no Brasil: 20 anos da Constituição Federal de 1988", 2008, disponível em publicação IBPT 13081/162[permanent dead link].
- "SIMPLIFICANDO O BRASIL: PROPOSTAS DE REFORMA NA RELAÇÃO ECONÔMICA DO GOVERNO COM O SETOR PRIVADO", Zockun e colaboradores; FIPE 2007. Available in publicacoes FIPE Archived 2010-12-15 at the Wayback Machine
- "Brasil: burocracia e informalidade", A.E. Moraes, 2005. Available in Correio de Sergipe