diff options
author | japm48 <japm48@users.noreply.github.com> | 2020-03-26 16:01:00 +0100 |
---|---|---|
committer | Michael Dickens <michael.dickens@ettus.com> | 2020-04-10 14:57:01 -0400 |
commit | 4c4a85f2ebc43c9b7b3d5fdb8ad8387eae735f5f (patch) | |
tree | 10b5aa2671aafb9e393af7538177d2e48f60780d /gr-utils/python/blocktool/core/outputschema.py | |
parent | 78955a24c6c24f92f7b22ab9223e8e0b60b1dc4b (diff) |
gr-utils: restructure {mod,block}tool folders
Move modtool and blocktool outside of the python folder,
as per issue #2462.
Diffstat (limited to 'gr-utils/python/blocktool/core/outputschema.py')
-rw-r--r-- | gr-utils/python/blocktool/core/outputschema.py | 157 |
1 files changed, 0 insertions, 157 deletions
diff --git a/gr-utils/python/blocktool/core/outputschema.py b/gr-utils/python/blocktool/core/outputschema.py deleted file mode 100644 index 4d1bcf88b7..0000000000 --- a/gr-utils/python/blocktool/core/outputschema.py +++ /dev/null @@ -1,157 +0,0 @@ -# -# Copyright 2019 Free Software Foundation, Inc. -# -# This file is part of GNU Radio -# -# SPDX-License-Identifier: GPL-3.0-or-later -# -# -""" Schema to be strictly followed be parsed header output """ - - -RESULT_SCHEMA = { - "title": "JSON SCHEMA TO BE FOLLOWED BY BLOCK HEADER PARSING TOOL", - "description": "Schema designed for the header file parsed python dict output", - "type": "object", - "properties": { - "namespace": { - "description": "List of nested namspace", - "type": "array", - "minItems": 1, - "uniqueItems": True, - "items": { - "type": "string", - "minLength": 1 - } - }, - "class": { - "description": "Class name", - "type": "string", - "minLength": 1 - }, - "io_signature": { - "description": "I/O signature", - "type": "object", - "properties": { - "input": { - "description": "Input ports", - "type": "object" - }, - "output": { - "description": "Output ports", - "type": "object" - } - }, - "required": ["input", "output"] - }, - "make": { - "description": "Make function", - "type": "object", - "properties": { - "arguments": { - "description": "Arguments of make function", - "type": "array", - "minItems": 1, - "uniqueItems": True, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 1 - }, - "dtype": { - "type": "string", - "minLength": 1 - }, - "default": { - "type": "string" - } - }, - "required": ["name"], - "dependencies": { - "name": [ - "dtype", - "default" - ] - } - } - } - } - }, - "methods": { - "description": "Setters", - "type": "array", - "minItems": 0, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 1 - }, - "arguments_type": { - "type": "array", - "uniqueItems": True, - "properties": { - "name": { - "type": "string", - "minLength": 1 - }, - "dtype": { - "type": "string", - "minLength": 1 - } - }, - "required": ["name"], - "dependencies": { - "name": ["dtype"] - } - } - }, - "required": ["name"] - } - }, - "properties": { - "description": "Getters", - "type": "array", - "uniqueItems": True, - "items": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 1 - }, - "dtype": { - "type": "string", - "minLength": 1 - }, - "read_only": { - "type": "boolean" - } - }, - "required": ["name"], - "dependencies": { - "name": [ - "dtype", - "read_only" - ] - } - } - }, - "docstring": { - "description": "documentation of the header file", - "type": "array" - } - }, - "required": [ - "namespace", - "class", - "io_signature", - "make", - "methods", - "properties", - "docstring" - ] -} |