Open jeanbaptistemorin opened 7 years ago
@killix thanks! Reverted the object/object back with
type: object
properties:
id:
type: string
type:
type: string
enum: [ Note, Image, Video, Audio, Place, Document ]
required: [ id, type ]
to fit the doc. Is that correct?
Note for later: As Note
, Media
, Place
... inherits object, maybe that inheritance could be mapped with a allOf
later?
Forgot the attachements. ✋ Will add that 🕐
🤖 🤖, small PR on schemas!
js-beautify
to have readable outputobject.json
looks more like acontext.json
according to the docs. "Object" in the documentation is more the base object of all the Objects, or a generic type for Context and Tags, right? Moved theobject.json
incontext.json
Collections
: moved to onlyMedia
items in activity for now, discussed with @killixObject
enum in tag.id
in context.What do you think?