69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"_id" : "basic",
|
|
"_version" : "1.0.0",
|
|
"_name" : "Basic Use Case Descriptor",
|
|
|
|
"_description" : "Simple UCD",
|
|
"_creationInfo": {
|
|
"_user" : {
|
|
"_username": "fabio.sinibaldi"
|
|
}
|
|
},
|
|
|
|
"_schema" :{ "title" : {"_min" : 1},
|
|
"section" : { "_max" : 1, "_min" : 1,
|
|
"_children" : [
|
|
{"fileset" :{"_type" : "RegisteredFileSet", "_min": 1}},
|
|
{"title" : {"_min" : 1}}
|
|
]
|
|
}
|
|
},
|
|
"_dataAccessPolicies": [
|
|
{"_policy": {"_read": "any","_write": "any"},
|
|
"_roles": ["Data-Manager"]},
|
|
{"_policy": {"_read": "own","_write": "own"},
|
|
"_roles": ["Data-Editor"]},
|
|
{"_policy": {"_read": "any","_write": "none"},
|
|
"_roles": ["Member"],
|
|
"_enforcer": {"_filter": "{\"_lifecycleInformation._phase\" : {\"$eq\" : \"Published\"}}"}},
|
|
{"_policy": {"_read": "none","_write": "none"},
|
|
"_roles": []}
|
|
],
|
|
|
|
"_relationshipDefinitions" : [
|
|
{"_id": "precedes", "_label" : "Precedes",
|
|
"_reverseRelationId" : "follows"},
|
|
{"_id": "follows", "_label" : "Follows",
|
|
"_reverseRelationId" : "precedes"}
|
|
],
|
|
|
|
|
|
"_handlers" : [
|
|
{
|
|
"_id" : "DEFAULT-SINGLE-STEP",
|
|
"_type" : "LifecycleManagement",
|
|
"_configuration" : {
|
|
"step_access" : [
|
|
{"STEP" : "PUBLISH", "roles" :[]}
|
|
]
|
|
}
|
|
}, {
|
|
"_id" : "SDI-Default-Materializer",
|
|
"_type" : "Materializer",
|
|
"_configuration" : {
|
|
"registeredFileSetPaths" : [
|
|
{"schemaField" : "section._children[?(@.fileset)]","documentPath" : "section.fileset"}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"_id" : "DEFAULT-SINGLE-STEP",
|
|
"_type" : "LifecycleManagement",
|
|
"_configuration" : {
|
|
"step_access" : [
|
|
{"STEP" : "PUBLISH", "roles" :[]}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |