alias
- Explore
- View source
- Playground
Loading ....
- YAML
- JSON
ethdebug/format/type/complex/alias
$schema: "https://json-schema.org/draft/2020-12/schema"
$id: "schema:ethdebug/format/type/complex/alias"
title: ethdebug/format/type/complex/alias
description:
Schema representing a type alias to another type
type: object
properties:
class:
type: string
const: complex
kind:
type: string
const: alias
contains:
$ref: "schema:ethdebug/format/type/wrapper"
definition:
$ref: "schema:ethdebug/format/type/definition"
required:
- kind
- contains
examples:
- kind: alias
contains:
type:
kind: uint
bits: 256
- kind: alias
contains:
type:
kind: array
contains:
type:
class: elementary
kind: super-uint # unsupported type
blits: -256
ethdebug/format/type/complex/alias
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema:ethdebug/format/type/complex/alias",
"title": "ethdebug/format/type/complex/alias",
"description": "Schema representing a type alias to another type",
"type": "object",
"properties": {
"class": {
"type": "string",
"const": "complex"
},
"kind": {
"type": "string",
"const": "alias"
},
"contains": {
"$ref": "schema:ethdebug/format/type/wrapper"
},
"definition": {
"$ref": "schema:ethdebug/format/type/definition"
}
},
"required": [
"kind",
"contains"
],
"examples": [
{
"kind": "alias",
"contains": {
"type": {
"kind": "uint",
"bits": 256
}
}
},
{
"kind": "alias",
"contains": {
"type": {
"kind": "array",
"contains": {
"type": {
"class": "elementary",
"kind": "super-uint",
"blits": -256
}
}
}
}
}
]
}
Loading...