1 L0 = <http://www.simantics.org/Layer0-1.1>
3 DatabaseManagement = L0.DatabaseManagement
5 PROJ = <http://www.simantics.org/Project-1.2> : L0.Ontology
7 L0.HasResourceClass "org.simantics.project.ontology.ProjectResource"
9 //-------------------------------------------------------------------------------
11 // Projects discovery source
12 <http://Projects> : L0.Library
15 PROJ.ProjectType <T L0.Entity
16 PROJ.Project : PROJ.ProjectType <T L0.Library
18 // [L0.ConsistsOf all L0.Library]
19 @L0.property PROJ.HasFeature
21 PROJ.FeatureSpec <T L0.Entity
22 @L0.singleProperty DatabaseManagement.HasVersionedId
23 @L0.singleProperty PROJ.IsRequired
24 @L0.singleProperty PROJ.HasGroupId
26 PROJ.HasFeature <R L0.DependsOn
27 L0.HasRange PROJ.FeatureSpec
29 PROJ.HasGroupId <R L0.HasProperty
30 L0.HasDomain PROJ.FeatureSpec
33 PROJ.RequiresNamespace <R L0.HasProperty
36 PROJ.NamespaceRequirement <T L0.Entity
37 L0.HasDescription "A type for describing namespace requirements for projects. Instances of this type are linked to projects using L0.IsLinkedTo to describe which URIs must be reachable in the database in order for the project to load. See org.simantics.project.features.DependencyValidationFeature for the implementation."
38 @L0.property PROJ.RequiresNamespace
40 PROJ.IsRequired <R L0.HasProperty
41 L0.HasRange L0.Boolean