default namespace = "2018/commoning.rnc" namespace xsd = "http://www/w3/org/2001/XMLSchema-datatypes" namespace ns1 = "2018/commoning.rnc" commoning = element commoning {persons & opinions & groups & operations & resources} field = element field {attribute name {text}, text} fields = element fields {attribute name {text}, ( field | fields )*} grade = element grade {attribute name {text}, ( attribute abbrev {text} )?, ( attribute color {text} )?} gradeRange = attribute grade {text} | attribute gradeMin {text} | attribute gradeMax {text} | ( attribute gradeMin {text}, attribute gradeMax {text} ) grades = element grades {attribute id {xsd:id}, ( attribute name {text} )?, grade*} group = element group {attribute id {xsd:id}, ( attribute name {text} )?, fields*, members, group*} groups = element groups {group*} member = element member {attribute person {xsd:id}} members = member* operation = element operation {attribute id {xsd:id}, operation*} operations = element operations {operation*} opinions = element opinions {grades*} person = element person {attribute id {xsd:id}, fields*} persons = element persons {person*} policy = element policy {attribute operation {text}, attribute by {xsd:id}, ( attribute toward {xsd:id} )?, rule*} resource = element resource {attribute name {text}, policy*, resource*} resources = element resources {resource*} rule = element rule {attribute grades {xsd:id}, gradeRange}