{{ with .element }}
{{ with $.name }}
{{ . }}{{ ": " }}
{{ end }}
{{ if (eq $.kind "array") }}
arrayOf [
{{ template "schema" . }}
]
{{ end }}
{{ if (eq $.kind "dictionary") }}
dictionary
<
{{ $.key.name }}, {{ template "schema" . }}>
{{ end }}
{{ else }}
{{ if (eq .name .kind) }}
{{ .kind }}
{{ else }}
{{ with .name }}
{{ . }}{{ if $.isPointer }}
*
{{ end }}{{ ": " }}
{{ end }}
{{ .kind }}
{{ end }}
{{ with .keys }}
{
{{ range . }}
- {{ template "schema" . }}
{{ end }}
}
{{ end }}
{{ end }}
{{ end }}
{{ define "main" }}
{{ $keys := .Site.Data.api.v310.api }}