Schemas Option ID Constants specify the feature to enable and
disable in the schemas object.
For example, if the option is enabled and if the functional group has version 4010, the schema having version 4020 is used instead -- only if the schema version 4010 was not available, and the next available higher version number was 4020; if the option is disabled, an error is generated.
Note that the standard reference library only has a fixed set of versions that it supports for ASC/X12 and UN/EDIFACT. It is possible that it still may not have the version requested.
For an exact match, the version, release and industry in the document must match the version, release and industry of the schema.
For example, if an ASC/X12 document only has transaction set 850, then only the
definition of transaction set 850 is imported from the SEF file schema instead
of importing the entire schema.
OptSchemas_NoSchemas (4) - This option indicates that no
schemas are to be used. Enabling this option allows the client to
specify no external schemas to use, as well as having
the Standard Reference Library disabled; if not enabled, an
error will generate otherwise. Translating a document without a schema
disables any syntax validation and is not guaranteed to succeed all the
time. Defaults as disabled (0).
OptSchemas_UseBuiltInCtrlSegs (5) - This option indicates that the built-in control segments should be used as an option to select an implementation guideline. The built-in control segments and service segments are the defined implementation of the controlling standard at a minimum. When the version requested is not found in the external guidelines nor the Standard Reference Library, the built-in control/service segments will be used as a fall back. Defaults as enabled (1).
The Option property in the ediSchemas object enable and disable the featured described by the constants. The feature is enabled if set to 1; disabled if set to 0.