Skip to content

Commit

Permalink
Try to fix formatting again
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jul 28, 2024
1 parent 5c5ba3b commit 02879bf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions optimade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4527,21 +4527,20 @@ The OPTIMADE JSON Lines format then extends these rules with the following conve

This leaves the following overall file structure:

.. code
.. code :: text
<header>
<optional metadata>
<base info response>
<entry info responses>
<entries block ordered by entry type>
<optional custom extension endpoints>
- Information about prefixes and provider fields

Example OPTIMADE JSON Lines File
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code
.. code :: json
{"x-optimade": {"api_version": "1.2.0"}}
{"meta": {"time_stamp": "2024-07-19T11:47:10Z", "data_returned": 6, "provider": {"name": "Example JSONL", "description": "An example JSONL file.", "prefix": "_exmpl"}}}
{"type": "info", "id": "/", "attributes": {"api_version": "1.2.0", "available_api_versions": ["1.2.0"], "formats": ["json"], "entry_types_by_format": {"json": ["references", "structures"]}, "license": "https://example.com/licenses/example_license.html"} "homepage": "https://example.com", "name": "Example API", "provider": {"description": "A simple example provider", "name": "Example Provider"}}}
Expand Down

0 comments on commit 02879bf

Please sign in to comment.