Skip to main content

This page has been translated using TexTra by NICT. Please note that the translation may not be completely accurate.
If you find any mistranslations, we appreciate your feedback on the "Request form for improving the automatic translation ".

(End) law API Prototype Release testing (Part 1)

As part of the upgrading of the law API , which provides data on laws, government and ministerial ordinances, we development a prototype of the functional extension of the law API (law API prototype).
Regarding the development of the law API prototype, we held a law API prototype testing from October 24, 2023 (Tue) to November 30, 2023 (Thu) to solicit opinions from people who use law data and promote the creation of new services. During the period under review, we released the environmental, specific specifications, and sample code of the law API prototype.
Through this initiative, we have received valuable opinions on the usability and needs of the law API prototype. We will use the opinions as a reference for improvement, and will continue to consider expanding the law API functions.

Open testing Period

From Tuesday, October 24, 2023 to Thursday, November 30, 2023
*Finished

Law API Prototype Overview

Due to the end of the testing period, the prototype environment, specific specifications, and sample code have been released. The following is for reference information.

In this prototype, the API specification is created with the OpenAPI Specification (OAS) and can be operated on the Swagger UI.
By specifying a point in time, you can search and obtain past articles.
In addition to the XML format conforming to the law standard XML schema, the law text data is also provided in the JSON format as an experimental.
However, the JSON format spec is intended to be preliminary and translatable to and from XML conforming to the law Standard XML Schema.
As of April 1, 2017, and as of August 2, 2023, amendments to the Act, Cabinet Orders, Ministerial Ordinances, and Regulations have been reflected in each law. Because the Act, Cabinet Orders, Ministerial Ordinances, and Regulations are for testing, some law may not be included, and some attributes and items may not be included in the law standard XML schema.

Points to Note

This prototype is a temporary test provision, so please refrain from incorporating it into the actual system. Please note that in order to use it for actual service provision, it is necessary to use the current law API , which is officially provided, or the law API after upgrading, which is being considered in the future.

Terms of Use

  1. About Access Restrictions
    In order to make this environment accessible to as many users as possible, we have adopted a disclosure method that does not require any special use procedures or authentication. However, in order to protect the server, if excessive access or BOT access is confirmed, access restrictions may be imposed. Please keep this in mind, and refrain from using this environment by intentionally conducting a load test or any other method.
    In addition, please refrain from using the method of sequentially acquiring text data by looping through all law, as this will impose a burden on server resources and cause response delays and server downtime that may affect other users.
  2. Handling of provided URLs
    The URL of this system can be accessed only during the public testing period. The URL cannot be accessed outside the public testing period. Therefore, please refrain from using it for services that are intended to be used permanently and posting the link on the website. In addition, Digital Agency will not be responsible for any disadvantages that may occur to the user in using it.
  3. Maintenance
    We may perform server maintenance on this server and may not be able to use it during the maintenance period. We will notify you on the Digital Agency website if we perform server maintenance that requires a long-term outage. In addition, please understand that the API specifications may change during the public testing period.
  4. Service Interruptions
    In the event of the occurrence of any matter that Digital Agency deems unavoidable, the disclosure of the Environments may be suspended even during the period indicated in the Disclosure testing Period.

The development and test provision of this prototype and the tabulation of the information provision form are outsourced to Daiichi Hoki Co., Ltd., which is a contractor.

Related Links