org.dotpostcard.postcard

A postcard. The record key is a TID whose timestamp is the date the postcard was sent (or the date it was uploaded, if that's unknown; 1970-01-01 if it was sent before then), with its remaining bits taken from the image's own hash.

Repository @dotpostcard.org did:web:dotpostcard.org namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritydotpostcard.org
Commit rev3n2isit2e5c7b
Indexed

Record

record · key tid

Properties

Reference

flip

requiredstring

The axis the physical postcard flips about, to keep both sides upright.

  • maxLength: 100
  • knownValues: org.dotpostcard.postcard#flipBook | org.dotpostcard.postcard#flipLeftHand | org.dotpostcard.postcard#flipCalendar | org.dotpostcard.postcard#flipRightHand | org.dotpostcard.postcard#flipNone

image

requiredblob

A 'web' format postcard image: the front of the postcard above the back (rotated so the specified flip works), with the postcard's XMP metadata embedded.

  • accept: image/*

locale

string · language

The language the descriptions and transcriptions are written in, unless annotated otherwise.

Reference

physical

requiredref
Reference
Reference
Reference

The date the postcard was sent.

Reference

sides

requiredarray

The sides of the postcard, front first. One-sided postcards (flipNone) have a single side.

  • minLength: 1
  • maxLength: 2
itemsref
Reference

title

string

The postcard's human-readable title.

  • maxLength: 3000
  • maxGraphemes: 300

#annotatedText

object

Properties

itemsref
Reference

text

requiredstring
  • maxLength: 20000

#annotation

object

Marks up a range of the text. Offsets are zero-indexed counts of UTF-8 bytes; the start is inclusive and the end exclusive.

Properties

byteEnd

requiredinteger
  • minimum: 0

byteStart

requiredinteger
  • minimum: 0

type

requiredstring
  • maxLength: 100
  • knownValues: em | strong | underline | locale

value

string

For 'locale' annotations, the language tag of the annotated range.

  • maxLength: 100

#context

object

Where this postcard came from, and who is describing it.

Properties

Reference
  • maxLength: 20000

#date

object

A calendar date, with no time of day or timezone.

Properties

day

requiredinteger
  • minimum: 1
  • maximum: 31

month

requiredinteger
  • minimum: 1
  • maximum: 12

year

requiredinteger
  • minimum: 1

#flipBook

token

Flips about a vertical axis, like a book.

#flipCalendar

token

Flips about a horizontal axis, like a calendar.

#flipLeftHand

token

Flips about the up-right diagonal axis, as if flipped with your left hand. The sides have different orientations.

#flipNone

token

The postcard has only one side.

#flipRightHand

token

Flips about the down-right diagonal axis, as if flipped with your right hand. The sides have different orientations.

#location

object

Properties

ISO 3166-1 alpha-3 country code.

  • minLength: 3
  • maxLength: 3

latitude

string

Decimal degrees, as a string (atproto has no floating point numbers).

  • maxLength: 32

longitude

string

Decimal degrees, as a string (atproto has no floating point numbers).

  • maxLength: 32

name

string
  • maxLength: 1000

#person

object

Properties

name

string
  • maxLength: 1000

uri

string · uri

#physical

object

The physical attributes of the postcard.

Properties

The colour of the card the postcard is made from.

Reference

frontSize

requiredref
Reference

The thickness of the postcard, in micrometres.

  • minimum: 1

#point

object

A point on one side of the postcard, in ten-thousandths of that side's width (x, from the left) and height (y, from the top).

Properties

x

requiredinteger
  • minimum: 0
  • maximum: 10000

y

requiredinteger
  • minimum: 0
  • maximum: 10000

#rgbColor

object

Properties

b

requiredinteger
  • minimum: 0
  • maximum: 255

g

requiredinteger
  • minimum: 0
  • maximum: 255

r

requiredinteger
  • minimum: 0
  • maximum: 255

#secret

object

Properties

points

requiredarray

The vertices of the polygon bounding the region.

  • minLength: 3
itemsref
Reference

prehidden

boolean

False if this region still shows its private information in the image; regions are assumed to be already obscured.

  • default: true

#side

object

Properties

A description of what this side depicts, suitable for use as alt text.

  • maxLength: 20000

secrets

array

Regions of this side which hold private information, and should be obscured.

itemsref
Reference

#size

object

The dimensions of the front of the postcard.

Properties

heightMm

integer
  • minimum: 1

heightPx

requiredinteger
  • minimum: 1

widthMm

integer
  • minimum: 1

widthPx

requiredinteger
  • minimum: 1