Skip to main content

Schema

type Date string
type DID string
type AccountID string

# See https://schema.org/GeoCoordinates
type GeoCoordinates struct {
# The latitude of a location
latitude Float

# The longitude of a location
longitude Float
}

# See https://schema.org/GeoCircle
type GeoCircle struct {
# Indicates the approximate radius of a GeoCircle in meters
geoRadius Float

# Indicates the GeoCoordinates at the centre of a GeoShape, e.g. GeoCircle
geoMidpoint GeoCoordinates
}

# See https://schema.org/QuantitativeValue
type QuantitativeValue struct {
maxValue optional Float
minValue optional Float
unitCode optional String
unitText optional String
value optional Float
}

type EncodingImage enum {
| Gif ("image/gif")
| Jpeg ("image/jpeg")
| Png ("image/png")
| Svg ("image/svg+xml")
}

type ImageObject struct {
name optional String
content &Bytes
contentSize optional Int
encodingFormat EncodingImage
}