news

An general news entry
{
  "config": Object (config),
  "tags": Array (String),
  "receiver": Array (Object (author)),
  "resources": Array (Mixed),
  "profileImage": Base64,
  "read": Boolean,
  "source": Mixed,
  "author": Object (author),
  "meta": Object (meta),
  "sendDate": Date,
  "readDate": DateTime,
  "expires": Duration,
  "price": Number,
  "rating": Integer,
  "content": String,
  "question": String,
  "coffeeTime": Time,
  "profileUri": URI,
  "g-recaptcha-response": String,
}
FieldDescription
configObject (config)
tagsArray (String)
MinItems
1
MaxItems
6
receiverArray (Object (author))
MinItems
1
resourcesArray (Mixed)
profileImageBase64
readBoolean
sourceMixed
OneOf
authorObject (author)
An simple author element with some description
metaObject (meta)
Some meta data
sendDateDate
readDateDateTime
expiresDuration
priceNumber
Minimum
1
Maximum
100
ratingInteger
Minimum
1
Maximum
5
contentString
Contains the main content of the news entry
MinLength
3
MaxLength
512
questionString
Enum
  • "foo"
  • "bar"
coffeeTimeTime
profileUriURI
g-recaptcha-responseString

config

{
  "*": Object (config),
}
FieldDescription
*Object (config)

author

An simple author element with some description
{
  "title": String,
  "email": String,
  "categories": Array (String),
  "locations": Array (Object (location)),
  "origin": Object (location),
}
FieldDescription
titleString
Pattern
[A-z]{3,16}
emailString
We will send no spam to this addresss
categoriesArray (String)
MaxItems
8
locationsArray (Object (location))
Array of locations
originObject (location)
Location of the person

web

An application
{
  "name": String,
  "url": String,
  "*": String,
}
FieldDescription
nameString
urlString
*String

meta

Some meta data
{
  "createDate": DateTime,
  "^tags_\d$": String,
  "^location_\d$": Object (location),
}
FieldDescription
createDateDateTime
^tags_\d$String
^location_\d$Object (location)
Location of the person

location

Location of the person
{
  "lat": Number,
  "long": Number,
  "*": Mixed,
}
FieldDescription
latNumber
longNumber
*Mixed