Skip to main content

4. Requesting new object classes and attribute types

This section defines procedures for requesting new object classes and attribute types to be added to the schema. Proformas for object classes and attribute types are specified, and examples given of how to use them. A mechanism for making requests for large groups of new object classes and attribute types is described in the next section.

As stated earlier, it is anticipated that the schema will evolve considerably over time. As X.500 is used to support a widening range of applications, there will be requirements for extensions to the schema. This document proposes formalising this procedure by requiring requests for additions to the schema to be submitted as completed proformas. This stipulation will greatly simplify subsequent revisions of the schema.

There is one qualification to the above with respect to requests for modifications to an existing object class. If a modification to an object class merely involves additional, optional attributes, the object class will be enhanced as requested. Systems are expected to be resilient to such changes to the schema. However, requests to modify an object class, such that the mandatory attribute types require altering, will not be met. Instead, a new object class will be created, and the original object class expired following the scheme described in the next main section.

It is anticipated that most requests for modifications to the schema will be met without any need for editorial intervention. Sometimes, however, some discussion between the submitter of a request and the schema's editor may be required. For example, the editor may have to judge the relative merits of two very similar requests and, as a result, one of the parties may not get quite what they want. In cases such as this where the submitter of a request feels aggrieved about an editorial decision, the requestor may appeal to a broader community by explaining their views to the mailing list [email protected]. Heed will be paid to any consensus that emerges from discussions on the schema on this list. If it proves that this list is used almost solely for discussions on schema issues, a separate discussion list will be created.

To facilitate the production of the afore-mentioned proformas, tools are included in Appendix B which will verify that a proforma has been correctly formatted.

Completed proformas should be mailed to [email protected]

4.1. Object Class proforma​

This section gives an example, completed proforma for a new object class, alcoholic drink. A proforma for object class specified in BNF is included in Appendix A.

     Object Class: Alcoholic Drink

Description: The Alcoholic Drink object class is used to define
entries representing intoxicating beverages.

ASN1OCMacro: alcoholicDrink OBJECT-CLASS
SUBCLASS OF drink
MUST CONTAIN {
percentAlcohol}
MAY CONTAIN {
normalServing,
hue}

An object class description consists of three fields, separated by blank lines. The keywords Object Class, Description and ASN1OCMacro, and their suffixed colons, must be included exactly as above.

The Object Class field should be used for a textual description of the object class. This will be at most three or four words.

The Description field should contain some explanatory text about the intended use of the object class. This can run to a number of lines.

The ASN1OCMacro field should follow the definition of the object class macro as specified in X.501. The above example shows the main features. There are many more examples which can studied in the section defining the Pilot Object Classes.

4.2. Attribute type proforma​

This section gives an example completed proforma for a new attribute type, hue (one of the attribute types in the alcoholic drink object class).

     Attribute Type: Hue

Description: The Hue attribute type specifies the hue of
an object. (Note that a description may run to several
lines.)

OCMust:

OCMay: alcoholicDrink

ASN1ATMacro:hue ATTRIBUTE
WITH ATTRIBUTE SYNTAX
caseIgnoreStringSyntax
(SIZE (1 .. ub-hue))

ub-hue INTEGER ::= 256

An attribute type description consists of five fields, separated by blank lines. The keywords Attribute Type, Description, OCMust, OCMay and ASN1ATMacro, and their suffixed colons, must be included exactly as above.

The Attribute Type field should be used for a textual description of the attribute type. This will be at most three or four words.

The Description field should contain some explanatory text about the intended use of the attribute type. This can run to a number of lines.

The OCMust field should contain a comma-separated list of object classes for which this attribute is mandatory.

The OCMay field should contain a comma-separated list of object classes for which this attribute is optional.

The ASN1ATMacro field should follow the definition of the attribute macro as specified in X.501. The above example shows some of the features. In particular, please note the format for specifying size constraints.