2020-04-06 11:52:18 +02:00
|
|
|
# Copyright © 2020 Interplanetary Database Association e.V.,
|
|
|
|
# BigchainDB and IPDB software contributors.
|
2018-08-16 12:31:32 +02:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
|
|
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
|
|
|
|
2018-02-15 11:07:16 +01:00
|
|
|
---
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#"
|
|
|
|
type: object
|
|
|
|
title: Transaction Schema - TRANSFER specific properties
|
|
|
|
required:
|
|
|
|
- asset
|
|
|
|
properties:
|
|
|
|
asset:
|
|
|
|
additionalProperties: false
|
|
|
|
properties:
|
|
|
|
id:
|
|
|
|
"$ref": "#/definitions/sha3_hexdigest"
|
|
|
|
required:
|
|
|
|
- id
|
|
|
|
inputs:
|
|
|
|
type: array
|
|
|
|
title: "Transaction inputs"
|
|
|
|
minItems: 1
|
|
|
|
items:
|
|
|
|
type: "object"
|
|
|
|
required:
|
|
|
|
- fulfills
|
|
|
|
properties:
|
|
|
|
fulfills:
|
|
|
|
type: "object"
|
|
|
|
definitions:
|
|
|
|
sha3_hexdigest:
|
|
|
|
pattern: "[0-9a-f]{64}"
|
|
|
|
type: string
|