mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
21 lines
569 B
ReStructuredText
21 lines
569 B
ReStructuredText
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
|