mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

- Template doc for BigchainDB + Tendermint single node - Template doc for BigchainDB + Tendermint network - Remove autosectionlabel extension from docs/server/source/conf.py - Removed this extension because this does not allow two different documents to have same headings, because it auto-indexes - Fix and explicitly label headings and references.
22 lines
595 B
ReStructuredText
22 lines
595 B
ReStructuredText
.. _the-vote-schema-file:
|
|
|
|
The Vote Schema File
|
|
====================
|
|
|
|
BigchainDB checks all :ref:`votes <the-vote-model>`
|
|
(JSON documents) against a formal schema
|
|
defined in a JSON Schema file named vote.yaml.
|
|
The contents of that file are copied below.
|
|
To understand those contents
|
|
(i.e. JSON Schema), check out
|
|
`"Understanding JSON Schema"
|
|
<https://spacetelescope.github.io/understanding-json-schema/index.html>`_
|
|
by Michael Droettboom or
|
|
`json-schema.org <http://json-schema.org/>`_.
|
|
|
|
|
|
vote.yaml
|
|
---------
|
|
|
|
.. literalinclude:: ../../../../bigchaindb/common/schema/vote.yaml
|
|
:language: yaml |