diff --git a/src/main/java/org/gcube/informationsystem/contexts/reference/entities/Context.java b/src/main/java/org/gcube/informationsystem/contexts/reference/entities/Context.java index a348904..f2900fa 100644 --- a/src/main/java/org/gcube/informationsystem/contexts/reference/entities/Context.java +++ b/src/main/java/org/gcube/informationsystem/contexts/reference/entities/Context.java @@ -44,7 +44,52 @@ public interface Context extends EntityElement, SchemaMixedElement { public static final String NAME_PROPERTY = "name"; public static final String PARENT_PROPERTY = "parent"; public static final String CHILDREN_PROPERTY = "children"; - + + /** + * { + * ... + * "availableAt" : [ + * "https://i-marine.d4science.org/group/alienandinvasivespecies", + * "https://services.d4science.org/group/alienandinvasivespecies" + * ] + * ... + * } + * For non VRE context this field could be null or could have multiple value + * For VRE it is normally one value only (but some exception could exists + */ + public static final String AVAILABLE_AT_PROPERTY = "availableAt"; + + // + /** + * This information is provided to allowed user only (by role) + * { + * ... + * "fullpaths" : [ + * { + * "fullpath": "/gcube/devsec/myTest", + * "time": "2023-12-11 15:35:41.289 +0000", // Same of creationTime in metadata + * }, + * { + * "fullpath": "/gcube/devsec/myTestVRE", + * "time": "2023-12-13 16:13:12.336 +0000", + * } + * { + * "fullpath": "/gcube/devsec/myVRE", + * "time": "2023-12-18 12:37:48.172 +0000", // Same of lastUpdateTime + * } + * ] + * ... + * } + */ + public static final String CONTEXT_FULLPATH_CHANGES_LOG_PROPERTY = "fullpaths"; + + /** + * This information is provided to allowed user only (by role) + * The symmetric key for the context + */ + public static final String CONTEXT_KEY_PROPERTY = "key"; + + @ISProperty(name = NAME_PROPERTY, mandatory = true, nullable = false) public String getName();