Home
- Add list item
- Date (calendar)
- Type (dropdown list)
Schema
titledefault to capitalized filefileoptional extension, will be set toymlactionDefault toadd, can becreatepersonalboolean, to prepend username to file path, for conflictsproperties
Theory
schemaDeclare a Schema, not required, also draft specification- Path
idURI reference: unique identifier and a base URI (absolute for top-level schema)refURI reference, point to a fregment in the same or different file. Can be recursive
- String
minLength,maxLength,pattern,regexformat:date,time,date-time,email,hostname,uri
- Numbers
integeris a type that correspond tonumbermultipleOf: 1.0minimum,exclusiveMinimum,maximum,exclusiveMaximum
- Root properties
propertiesdefinitionsrequiredArray of propertiesdependenciesproperties with array of required properties
emunarray (of a optionally definedtype). Restrict a value to a fixed setenumNamesarray of namesobjecttype has key-value pairs defined byproperties- Array
arraytype hasitems:with their owntype: ...andpropertiesminItems,maxItems
- Annotations
title,description,examplesdefaultfortype: arraycan be an array
contentMediaTypecould betext/htmlcontentEncodingcan 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
titledefault to capitalized property namedescriptiontooltipText visualized on mousehovertypedefault totexttextnumbercolordatetimestring for time offset:12:00or12:00:00repeatrecurrent event every value-unitvalue0 = no repeatunitday, week, month, yearexceptioncustom value-unit recurrence forconditioncondition...valueday, week, month, yearunit0 = no repeat
schemaproperties
textareaurlemail
repeatrecurrent event every value-unitvalue0 = no repeatunitday, week, month, year
listarray of values or objects withvaluevaluestyleCSS properties with a valuecss-property- …
multiplefor list and emailvaluedefault valueminfor numbermaxfor numberstepfor numbermaxlengthfor textminlengthfor textrequiredplaceholderrowsfor textareacolsfor textareastyleCSS 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