GEC11InstMeasWorkingSession: 072111_v0.3_MDOD.rnc

File 072111_v0.3_MDOD.rnc, 1.9 KB (added by hmussman@bbn.com, 8 years ago)
Line 
1# #################################################################
2#
3# File:    MDOD.rnc - Schema to describe GENI measurement objects
4# Version: 0.1
5#
6# #################################################################
7
8default namespace im = "http://www.geni.net/measurement/base/20110721"
9
10# External type definitions
11include "MDOD_types.rnc"
12
13start |= MDOD_Base
14
15MDOD_Base = element measurement_data_object_descriptor { MDOD_BaseContent }
16MDOD_BaseContent =
17    MDOD_Identifiers+
18    & MDOD_Descriptors+
19    & MDOD_Holders+
20   
21MDOD_Identifiers = element identifier { MDOD_IdentifierContent }
22MDOD_IdentifierContent =
23    MDOD_IdentifierEntry
24    & MDOD_title?
25    & MDOD_abstract?
26    & MDOD_keywords?
27    & MDOD_Annotation*
28
29MDOD_IdentifierEntry =
30    MDOD_id
31    & MDOD_rank
32    & MDOD_type
33    & MDOD_source
34
35MDOD_Descriptors = element descriptor { MDOD_DescriptorContent }
36MDOD_DescriptorContent =
37    MDOD_id
38    & MDOD_level
39    & MDOD_object_type
40    & MDOD_collection_location?
41    & MDOD_Duration?
42    & MDOD_project_id?
43    & MDOD_slice_id?
44    & MDOD_experiment_id?
45    & MDOD_run_id?
46    & MDOD_target?
47    & MDOD_Category?
48    & MDOD_Object_Size?
49    & MDOD_Flow_Rate?
50    & MDOD_Locator+
51    & MDOD_Object_Format
52    & MDOD_Interpretation_Method
53    & MDOD_Encryption
54    & MDOD_Encryption_Method?
55    & MDOD_Annotation*
56         
57MDOD_Holders = element holder { MDOD_HolderContent }
58MDOD_HolderContent =
59    MDOD_id
60    & MDOD_order
61    & MDOD_domain
62    & MDOD_subdomain
63    & MDOD_project_id?
64    & MDOD_slice_id?
65    & MDOD_service_id?#
66    & MDOD_user_id?
67    & MDOD_Contact
68    & MDOD_Collection
69    & MDOD_Collection_Policy?
70    & MDOD_Anonymization
71    & MDOD_Anonymization_Method?
72    & MDOD_Sharing
73    & MDOD_Sharing_Policy?
74    & MDOD_Disposal
75    & MDOD_Disposal_Policy?
76    & MDOD_Transaction*
77
78
79