#
# RIB configuration file for RIG BIDM/ACF
#
# format:
#  BIDM-field-name required/optional  single/multiple   datatype #comments  
#                              

<RigObject>
  <attributes>
    Name                   required    multiple     string
  </attributes>
  <relationships>
  </relationships>
</RigObject>

<Asset extends RigObject>
  <attributes>
    Abstract                required  single    text
    Cost                    required  single    text
    DateOfInformation       required  single    date
    DistributionStatement   optional  multiple  string
    Domain                  required  multiple  string
    Keyword                 optional  multiple  string
    Language                required  multiple  string
    Restrictions            optional  single    text
    SecurityClassification  required  single    string
    TargetEnvironment       optional  multiple  string
    UniqueID                required  single    string
    Version                 optional  single    string
    VersionDate             optional  single    date
  </attributes>
  <relationships>
    AwardedWith.Certificate   optional  multiple
    IsComposedOf.Asset        optional  multiple
    IsLocatedIn.Library       required  multiple
    IsMadeOf.Element          required  multiple
    WasCreatedBy.Organization required multiple
  </relationships>
</Asset>

<Certificate extends RigObject>
  <attributes>
    CertificateDate      required  single    date
    CertificateLevel     required  single    string
    CertificateStatus    optional  single    string
  </attributes>
  <relationships>
    CertifiedBy.Organization    optional  multiple
    DefinedBy.CertificationPolicy    required  single
    SupportedBy.CertificationArtifact  optional  multiple
  </relationships>
</Certificate>

<CertificationArtifact extends Element>
  <attributes>
  </attributes>
  <relationships>
    IsProducedFromCertifying.Element  optional  multiple
  </relationships>
</CertificationArtifact>

<CertificationPolicy extends RigObject>
  <attributes>
    PolicyEffectiveDate         optional  single    date
    PolicyReference             optional  single    text
  </attributes>
  <relationships>
    Defines.CertificationLevel  optional  multiple
  </relationships>
</CertificationPolicy>

<CertificationLevel extends RigObject>
  <attributes>
    Description      optional  single  text
  </attributes>
  <relationships>
    ByAssessing.CertificationProperty  optional  multiple
    Certifies.CertificationQualityFactor optional multiple
  </relationships>
</CertificationLevel>

<CertificationQualityFactor extends CertificationLevel>
  <attributes>
  </attributes>
  <relationships>
  </relationships>
</CertificationQualityFactor>

<CertificationProperty extends RigObject>
  <attributes>
    CertificationMethod  required  single    string
    ElementType          required  single    string
    PropertyDescription  required  single    string
    ToolApplied          optional  single    string
  </attributes>
  <relationships>
  </relationships>
</CertificationProperty>

<Element extends RigObject>
  <attributes>
    ElementType     required  multiple  string
    Media           required  multiple  text
  </attributes>
  <relationships>
  </relationships>
</Element>

<Library extends RigObject>
  <attributes>
  </attributes>
  <relationships>
    ContactIs.Organization          required  multiple
    HasDefault.CertificationPolciy  optional  single
    IsComposedOf.Library            optional  multiple
    References.CertificationPolicy  optional  multiple
  </relationships>
</Library>

<Organization extends RigObject>
  <attributes>
    Address           required  single    string
    Email             optional  multiple  string
    Fax               optional  multiple  string
    Telephone         optional  multiple  string
  </attributes>
  <relationships>
  </relationships>
</Organization>
