hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/yaml/model.json
{
"name": "hydra.core.yaml.model",
"metadata": {
"description": "A basic YAML representation model. Based on:\n https://yaml.org/spec/1.2/spec.html\nThe Serialization and Presentation properties of YAML,\nincluding directives, comments, anchors, style, formatting, and aliases, are not supported by this model.\nIn addition, tags are omitted from this model, and non-standard scalars are unsupported.",
"comments": [],
"seeAlso": [],
"provisions": []},
"dependencies": [],
"definitions": [
{
"type": {
"name": "hydra.core.yaml.model.Node",
"body": {
"variables": [],
"body": {
"annotated": {
"body": {
"union": [
{
"name": "mapping",
"type": {
"annotated": {
"body": {"map": {"keys": {"variable": "hydra.core.yaml.model.Node"}, "values": {"variable": "hydra.core.yaml.model.Node"}}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A mapping from nodes to nodes"}}}]}}}},
{
"name": "scalar",
"type": {
"annotated": {
"body": {"variable": "hydra.core.yaml.model.Scalar"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A scalar value"}}}]}}}},
{
"name": "sequence",
"type": {
"annotated": {
"body": {"list": {"variable": "hydra.core.yaml.model.Node"}},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A sequence of nodes"}}}]}}}}]},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A YAML node (value)"}}}]}}},
"constraints": []}}},
{
"type": {
"name": "hydra.core.yaml.model.Scalar",
"body": {
"variables": [],
"body": {
"annotated": {
"body": {
"union": [
{
"name": "bool",
"type": {
"annotated": {
"body": {"literal": "boolean"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Represents a true/false value"}}}]}}}},
{
"name": "decimal",
"type": {
"annotated": {
"body": {"literal": "decimal"},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "An arbitrary-precision decimal number (lexically a valid JSON number)"}}}]}}}},
{
"name": "float",
"type": {
"annotated": {
"body": {"literal": {"float": "float64"}},
"annotation": {
"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Represents an approximation to real numbers"}}}]}}}},
{
"name": "int",
"type": {
"annotated": {
"body": {"literal": {"integer": "bigint"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {"literal": {"string": "Represents arbitrary sized finite mathematical integers"}}}]}}}},
{
"name": "null",
"type": {
"annotated": {
"body": "unit",
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "Represents the lack of a value"}}}]}}}},
{
"name": "str",
"type": {
"annotated": {
"body": {"literal": "string"},
"annotation": {"map": [{"key": {"variable": "description"}, "value": {"literal": {"string": "A string value"}}}]}}}}]},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "A union of scalars supported in the YAML failsafe and JSON schemas. Other scalars are not supported here"}}}]}}},
"constraints": []}}}]}