mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
* Problem: Source files contain no license info Solution: Add comments with SPDX license info to source files * Python 3 files don't need # -*- coding: utf-8 -*-
35 lines
736 B
YAML
35 lines
736 B
YAML
# Copyright BigchainDB GmbH and BigchainDB contributors
|
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
|
|
|
---
|
|
"$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"
|