family.pardy.familytime.card.defs

Repository @pardy.at did:plc:dp7v5b5kejmmzzpwmqyf5wj6 namespace authority
Details · defs
Kinddefs
Authoritycard.familytime.pardy.family
Indexed

#binding

object

Properties

path

string

JSON pointer.

  • maxLength: 300

source

requiredstring

A source name, or $item in a list template.

  • maxLength: 64

#gestures

object

Touch gesture → action name. Tap works without scripts; the rest come from the app's shared script.

Properties

doubleTap

string
  • maxLength: 64

drop

string
  • maxLength: 64

longPress

string
  • maxLength: 64

tap

string
  • maxLength: 64

#heading

object

Big text, with optional smaller text under it.

Properties

bind

object

Bound properties replace literal ones.

grow

integer

Share of a row's width.

  • minimum: 0
  • maximum: 12

id

string

Names the block in action intents. Required on items that answer gestures.

  • maxLength: 64

size

string
  • knownValues: small

subtext

string
  • maxLength: 200

text

string
  • maxLength: 200

when

ref

Only show the block when this binding is truthy.

Reference

#item

object

An icon and text. Answers touch gestures with actions sent to the host.

Properties

accepts

string

The kind of dragged item this accepts (with on.drop).

  • maxLength: 32

bind

object

Bound properties replace literal ones.

color

string
  • maxLength: 64

drag

string

Makes the item draggable; names the kind of thing it is.

  • maxLength: 32

grow

integer

Share of a row's width.

  • minimum: 0
  • maximum: 12

icon

string
  • maxLength: 32

id

string

Names the block in action intents. Required on items that answer gestures.

  • maxLength: 64

image

string

A picture from this app's own image paths (event photos, theme art); shown instead of the icon. Outside URLs are ignored.

  • maxLength: 300

level

integer

For look "meter".

  • minimum: 0
  • maximum: 100

look

string
  • knownValues: sticker | face | tile | slot | chip | banner | clock | yes | no | back | swatch | meter | countdown | face-big | together | goal | claim

on

ref
Reference

status

string
  • knownValues: pending | done | selected | error

subtext

string
  • maxLength: 200

text

string
  • maxLength: 200

value

string

Sent with the item's gestures.

  • maxLength: 1000

when

ref

Only show the block when this binding is truthy.

Reference

#list

object

Repeats the template for each element of a bound array; the element is the source $item.

Properties

empty

string
  • maxLength: 200

emptyIcon

string
  • maxLength: 32

grow

integer

Share of a row's width.

  • minimum: 0
  • maximum: 12

id

string

Names the block in action intents. Required on items that answer gestures.

  • maxLength: 64

items

requiredref
Reference

layout

string
  • knownValues: stack | row | grid

when

ref

Only show the block when this binding is truthy.

Reference

#moduleSource

object

Computed by the card's own module.

Properties

#row

object

Children side by side, wrapping.

Properties

grow

integer

Share of a row's width.

  • minimum: 0
  • maximum: 12

id

string

Names the block in action intents. Required on items that answer gestures.

  • maxLength: 64

when

ref

Only show the block when this binding is truthy.

Reference

#section

object

A titled group.

Properties

aside

string
  • maxLength: 100

bind

object

Bound properties replace literal ones.

grow

integer

Share of a row's width.

  • minimum: 0
  • maximum: 12

id

string

Names the block in action intents. Required on items that answer gestures.

  • maxLength: 64

title

string
  • maxLength: 100

when

ref

Only show the block when this binding is truthy.

Reference

#slot

object

Where the board's own cards go (filled by the host).

Properties

name

string
  • knownValues: home.top | home.bottom

#source

object

Properties

name

requiredstring
  • maxLength: 64

ref

requiredunion

#stack

object

Children top to bottom.

Properties

grow

integer

Share of a row's width.

  • minimum: 0
  • maximum: 12

id

string

Names the block in action intents. Required on items that answer gestures.

  • maxLength: 64

when

ref

Only show the block when this binding is truthy.

Reference

#viewSource

object

A view the app computes for the screen.

Properties

day

integer
  • minimum: 0
  • maximum: 1

mine

boolean

view

requiredstring
  • knownValues: board | weather | day | members | subject | ideas | pending | activity | slots | screen | themes | countdowns | focus | highlight | together | stars | give

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A card: a tree of blocks bound to named sources, optionally with a sandboxed module. Public, so any board can add it by its AT URI; each board's settings for it live in a private cardInstance.