Home
- Add list item
- Date (calendar)
- Type (dropdown list)
Schema
title
default to capitalized filefile
optional extension, will be set toyml
action
Default toadd
, can becreate
personal
boolean, to prepend username to file path, for conflictsproperties
Theory
schema
Declare a Schema, not required, also draft specification- Path
id
URI reference: unique identifier and a base URI (absolute for top-level schema)ref
URI reference, point to a fregment in the same or different file. Can be recursive
- String
minLength
,maxLength
,pattern
,regex
format
:date
,time
,date-time
,email
,hostname
,uri
- Numbers
integer
is a type that correspond tonumber
multipleOf: 1.0
minimum
,exclusiveMinimum
,maximum
,exclusiveMaximum
- Root properties
properties
definitions
required
Array of propertiesdependencies
properties with array of required properties
emun
array (of a optionally definedtype
). Restrict a value to a fixed setenumNames
array of namesobject
type has key-value pairs defined byproperties
- Array
array
type hasitems:
with their owntype: ...
andproperties
minItems
,maxItems
- Annotations
title
,description
,examples
default
fortype: array
can be an array
contentMediaType
could betext/html
contentEncoding
can be7bit, 8bit, binary, quoted-printable, base64
- Conditional subschema
allOf:
- if:
properties:
country:
const: "String1"
then:
properties:
postal_code:
pattern: "..."
- if:
properties:
country:
const: "String2"
then:
properties:
postal_code:
pattern: "..."
Properties
title
default to capitalized property namedescription
tooltip
Text visualized on mousehovertype
default totext
text
number
color
date
time
string for time offset:12:00
or12:00:00
repeat
recurrent event every value-unitvalue
0 = no repeatunit
day, week, month, yearexception
custom value-unit recurrence forcondition
condition
...
value
day, week, month, yearunit
0 = no repeat
schema
properties
textarea
url
email
repeat
recurrent event every value-unitvalue
0 = no repeatunit
day, week, month, year
list
array of values or objects withvalue
value
style
CSS properties with a valuecss-property
- …
multiple
for list and emailvalue
default valuemin
for numbermax
for numberstep
for numbermaxlength
for textminlength
for textrequired
placeholder
rows
for textareacols
for textareastyle
CSS properties with a valuecss-property
- …
Tree
Details
life:
title: Life
properties:
bacteria:
title: Domain [Bacteria](#)
properties:
Kingdom Monera: true
empire:
title: Empire [Eukaryota](#)
properties:
Kingdom Protista: true
Kingdom Plantae: true
Kingdom Animalia: true
{% include widgets/tree.html tree=page.life %}
|
||||||||||||||||||||||
Examples
Single array file, timestamp
as added property
folder/file.yml
-
property: value
timestamp: 1582884954735
-
property: value
timestamp: 1582884954736
Single object file, timestamp
as objects index
folder/file.yml
1582884954735:
property: value
1582884954736:
property: value
Multiple object files, timestamp
as filename
folder/file/1582884954735.yml
property: value
folder/file/1582884954736.yml
property: value