so.indx.defs

Shared definitions for Indx records.

Repository @indx.so did:plc:62qaw3tjtuox2zt7aqtshs7p namespace authority
Details · defs
Kinddefs
Authorityindx.so
Commit rev3n2mzp7ryp42g
Indexed

#aspectRatio

object

Width and height of an image, used to reserve its space before it loads. Only the ratio is meaningful; the values may be the pixel size.

Properties

height

requiredinteger
  • minimum: 1

width

requiredinteger
  • minimum: 1

#image

object

An image stored as a blob in the author's account.

Properties

alt

string

Description of the image for people who cannot see it.

  • maxLength: 10000
  • maxGraphemes: 1000
Reference

image

requiredblob
  • maxSize: 2000000
  • accept: image/jpeg, image/png, image/webp

#location

object

A place on Earth as a WGS 84 coordinate. Field names match community.lexicon.location.geo.

Properties

address

string

Address as one line of text, in the form the author wants it shown.

  • maxLength: 5000
  • maxGraphemes: 500

latitude

requiredstring

Decimal degrees between -90 and 90, as a string because records cannot hold fractional numbers. Example: "52.521666".

  • maxLength: 32

longitude

requiredstring

Decimal degrees between -180 and 180, as a string. Example: "13.413191".

  • maxLength: 32

name

string

Name of the place, such as a venue or landmark.

  • maxLength: 3000
  • maxGraphemes: 300