-
Notifications
You must be signed in to change notification settings - Fork 21
Metadata Structure
alicak edited this page Mar 24, 2017
·
38 revisions
{
"name":"CollectionMetadataFacadeCollectionDropOrDecrementAttribute",
"internal-name":"collection.collectionmetadatafacadecollectiondropordecrementattribute_0",
"project-id":"default",
"attributes":{
"attribute 1":{
"attribute-name":"attribute 1",
"attribute-constraints":[ "isNumber", "lessThan:3"],
"attribute-count":1,
"child-attributes":{
"child":{
"attribute-name":"child",
"attribute-constraints":[],
"attribute-count":1,
"child-attributes":{
}
}
}
}
},
"last-time-used": ISODate("2017-03-24T17:04:10.989 Z"),
"recently-used-documents":[
]
}
name is name of collection given by user,
internal-name is actual name of the collection,
project-id is project ID,
attributes is a document, keys are names of the attributes, values are documents with metadata,
attribute-constraints is array of strings with constraints configurations,
attribute-count is a number of documents in collection that contain the attribute,
child-attributes are attributes of nested documents,
last-time-used is the time when collection was used for the last time,
recently-used-documents is an array of documents, the first is the one most recently used.
TODO
TODO
TODO