Rev

Rev 507 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | SVN | Bug Tracker

module urn_ietf_params_xml_ns_common_policy {
  import from XSDAUX language "TTCN-3:2010" all; 

  type record SphereType {
    XSDAUX.string value_
  }

  type record ExtensibleType {
    record of anytype elem_list optional
  }

  type record Ruleset {
    record of RuleType rule_list optional
  }

  type record RuleType {
    XSDAUX.ID id,
    ConditionsType conditions optional,
    ExtensibleType actions optional,
    ExtensibleType transformations optional
  }

  type record ConditionsType {
    record length (1 .. infinity) of union {
      IdentityType identity,
      SphereType sphere,
      ValidityType validity,
      record of anytype elem_list
    } content optional
  }

  type record ManyType {
    XSDAUX.string domain optional,
    record of union {
      ExceptType except_,
      anytype elem
    } content optional
  }

  type record ValidityType {
    record length (1 .. infinity) of record {
      XSDAUX.dateTime from_,
      XSDAUX.dateTime until
    } content
  }

  type record IdentityType {
    record length (1 .. infinity) of union {
      OneType one,
      ManyType many,
      anytype elem
    } content
  }

  type record OneType {
    XSDAUX.anyURI id,
    anytype elem optional
  }

  type record ExceptType {
    XSDAUX.string domain optional,
    XSDAUX.anyURI id optional
  }

}
with {
  encode "common_policy";
}