NCBI C Toolkit Cross Reference

C/asn/valid.asn


  1 --$Revision: 1.2 $
  2 --**********************************************************************
  3 --
  4 --  NCBI ASN.1 structured comment validation rule specifications
  5 --
  6 --  by Colleen Bollin, 2009
  7 --
  8 --**********************************************************************
  9 
 10 NCBI-Structured-comment-validation DEFINITIONS ::=
 11 BEGIN
 12 
 13 EXPORTS Severity-level, Field-rule, Field-set, Dependent-field-rule , Dependent-field-set ,Comment-rule, Comment-set;
 14 
 15 Severity-level ::= ENUMERATED {
 16     none (0) ,
 17     info (1) ,
 18     warning (2) ,
 19     error (3) ,
 20     reject (4) ,
 21     fatal (5)
 22 }
 23 
 24 Field-rule ::= SEQUENCE {
 25     field-name VisibleString ,
 26     match-expression VisibleString OPTIONAL ,
 27     required BOOLEAN DEFAULT FALSE ,
 28     severity Severity-level DEFAULT warning
 29 }
 30 
 31 Field-set ::= SET OF Field-rule
 32 
 33 Dependent-field-rule ::= SEQUENCE {
 34     match-name VisibleString ,
 35     value-constraint VisibleString OPTIONAL ,
 36     other-fields Field-set
 37 }
 38 
 39 Dependent-field-set ::= SET OF Dependent-field-rule    
 40 
 41 Comment-rule ::= SEQUENCE {
 42     prefix VisibleString ,
 43     updated BOOLEAN DEFAULT FALSE ,
 44     fields Field-set ,
 45     dependent-rules Dependent-field-set OPTIONAL
 46 }
 47 
 48 Comment-set ::= SET OF Comment-rule
 49 
 50 
 51 END
 52 

source navigation ]   [ diff markup ]   [ identifier search ]   [ freetext search ]   [ file search ]  

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.