mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
31 lines
581 B
YAML
31 lines
581 B
YAML
---
|
|
"$schema": "http://json-schema.org/draft-04/schema#"
|
|
type: object
|
|
title: Transaction Schema - CREATE/GENESIS specific constraints
|
|
required:
|
|
- asset
|
|
- inputs
|
|
properties:
|
|
asset:
|
|
additionalProperties: false
|
|
properties:
|
|
data:
|
|
anyOf:
|
|
- type: object
|
|
additionalProperties: true
|
|
- type: 'null'
|
|
required:
|
|
- data
|
|
inputs:
|
|
type: array
|
|
title: "Transaction inputs"
|
|
maxItems: 1
|
|
minItems: 1
|
|
items:
|
|
type: "object"
|
|
required:
|
|
- fulfills
|
|
properties:
|
|
fulfills:
|
|
type: "null"
|