ArcGIS Model Validation Rules for Enterprise Architect

Workspace

MVR-WS-1

Missing stereotype

This package is not an ArcGIS Workspace package (missing stereotype «ArcGIS»).
MVR-WS-2

Invalid Workspace Package

This package is a model root node, not an ArcGIS Workspace package. Aborting validation.
MVR-WS-3

Missing SpatialReference elements

A Workspace must contain one or more elements stereotyped: SpatialReference.

Feature Dataset

MVR-FD-1

Illegal characters in name

Feature Dataset name contains spaces or special characters. These will be converted to underscores when imported by the geodatabase.
MVR-FD-2

Nested feature dataset

Feature Dataset packages cannot be nested.

Feature Class

MVR-FC-1

Illegal characters in name

Feature/Object Class name contains spaces or special characters, or begins with a numeric character. Replace these with underscores, or remove them.
MVR-FC-2

Name > 32 characters

Names longer than 32 characters are invalid for some geodatabase implementations.
MVR-FC-3

Duplicate class name

Feature/Object Class name was already defined in this workspace.
MVR-FC-4

Illegal class name prefix

Feature/Object Class name has prefix of 'gdb_', 'sde_' or 'delta_'. This prefix is not supported by ArcGIS for Tables and Feature Class names.
MVR-FC-5

Invalid OID Field

The UML attribute that was specified as the Object ID field for this feature class does not exist in this class. To specify a different UML Attribute, use the OIDFieldName Tagged Value on this class.
MVR-FC-6

Invalid OID Field

The UML attribute that was specified as the Object ID field for this feature class does not have a data type of esriFieldTypeOID. To specify a different UML Attribute, use the OIDFieldName Tagged Value on this class.
MVR-FC-7

Invalid Shape Field

The UML attribute that was specified as the Shape field for this feature class does not exist in this class. To specify a different UML Attribute, use the ShapeFieldName Tagged Value on this class.
MVR-FC-8

Invalid Shape Field

The UML attribute that was specified as the Shape field for this feature class does not have a data type of esriFieldTypeGeometry. To specify a different UML Attribute, use the ShapeFieldName Tagged Value on this class.
MVR-FC-9

Missing Object ID Field

No Object ID was found for this feature class. A default field named OBJECTID will be added.
MVR-FC-10

Missing Shape Field

No Shape field was found for this feature class. A default field named Shape will be added.
MVR-FC-11

Missing Shape Length Field or LengthFieldName Tag

No Shape_Length field was found for this feature class or the LengthFieldName Tag is empty. A default Shape_Length field will be added.
MVR-OC-12

Missing Shape Area Field or AreaFieldName Tag

No Shape_Area field was found for this feature class or the AreaFieldName Tag is empty. A default Shape_Area field will be added.
MVR-FC-13

Missing Attribute Index

No Attribute Index was found for this feature class. A default index will be added for the Object ID field.
MVR-FC-14

Missing Spatial Index

No Spatial Index was found for this feature class. A default index will be added for the Shape field.

Object Class

MVR-OC-1

Object Class in feature dataset

Object Class is defined within a Feature Dataset package. Move it to a non-feature dataset package.
MVR-OC-2

Invalid OID Field

The UML attribute that was specified as the Object ID field for this table (object class) does not exist in this class. To specify a different UML Attribute, use the OIDFieldName Tagged Value on this class.
MVR-OC-3

Invalid OID Field

The UML attribute that was specified as the Object ID field for this table (object class) does not have a data type of esriFieldTypeOID. To specify a different UML Attribute, use the OIDFieldName Tagged Value on this class.
MVR-OC-4

Missing Object ID Field

No Object ID was found for this table (object class). A default field named OBJECTID will be added.
MVR-OC-5

Missing Attribute Index

No Attribute Index was found for this table (object class). A default index will be added for the Object ID field.

Coded Value Domain

MVR-CVD-1

Illegal characters in name

Coded Value Domain name contains apostrophe or single quote characters.
MVR-CVD-2

Special characters in name

Coded Value Domain name contains spaces or special characters, or begins with a numeric character. Replace these with underscores, or remove them.
MVR-CVD-3

Name > 32 characters

Coded Value Domain name is longer than 32 characters. Consider using a shorter name.
MVR-CVD-4

Duplicate Domain name

Coded Value Domain name was already defined in this workspace.
MVR-CVD-5

Invalid Domain type

Coded Value Domain FieldType must be one of: esriFieldTypeInteger, esriFieldTypeSmallInteger, esriFieldTypeDouble, esriFieldTypeSingle, esriFieldTypeString, esriFieldTypeDate.
MVR-CVD-6

Missing Domain Description

Found Coded Value Domain with empty Description tagged value.

Range Domain

MVR-RD-1

Duplicate Range Domain name

Range Domain name was already defined in this workspace.
MVR-RD-2

Invalid Range Domain type

Range Domain FieldType must be one of: esriFieldTypeInteger, esriFieldTypeSmallInteger, esriFieldTypeDouble, esriFieldTypeSingle, esriFieldTypeDate.
MVR-RD-3

Invalid Range Domain Min Value

Found non-numeric minimum value for a Range Domain of numeric type.
MVR-RD-4

Invalid Range Domain Max Value

Found non-numeric maximum value for a Range Domain of numeric type.
MVR-RD-5

Invalid Range Domain Min Date Value

Found incompatible minimum value for a Range Domain of type esriFieldTypeDate.
MVR-RD-6

Invalid Range Domain Max Date Value

Found incompatible maximum value for a Range Domain of type esriFieldTypeDate.

Domain Coded Value

MVR-DVC-1

Duplicate Domain Code

Domain Coded Value name was already defined for this Domain element.
MVR-DVC-2

Duplicate Domain Value

Domain Coded Value was already defined for this Domain element.
MVR-DVC-3

Missing Domain Value

Domain Coded Value was not specified. A value must be specified in the UML Attribute's Initial Value.

Spatial Reference

MVR-SR-1

Missing SpatialReference value

This element must specify a SpatialReference value
MVR-SR-2

Invalid SpatialReference value

The specified SpatialReference refers to an element that was not found in this workspace.

Subtypes

MVR-ST-1

Name > 32 characters

Names longer than 32 characters are invalid for some geodatabase implementations.
MVR-ST-2

Missing Subtype Relationship

Subtype elements should have one or more relationships of stereotype «Subtype» to a Feature Class or Object Class.
MVR-ST-3

Invalid parent element for subtype

A relationship stereotyped «Subtype» must have a Feature Class or Object Class as its target.
MVR-ST-4

Missing parent element for subtype

One or more parent elements of this Subtype could not be located in this workspace.
MVR-ST-5

Missing Subtype Code

Subtype elements must specify a subtype code on the «subtype» element tagged value, or via a «SubtypeField» Attribute Initial Value.
MVR-ST-6

Invalid Subtype Code

Subtype Code must be an integer value.
MVR-ST-7

Non-unique Subtype Code

Subtype Code must be unique across all subtypes of a given Feature Class or Object Class.
MVR-ST-8

Invalid Subtype Attribute Name

Each Subtype attribute (field) name must match a field in the parent Feature Class or Object Class.
MVR-ST-9

Type mismatch in Subtype Attribute

Subtype attribute (field) types must match the parent field type.
MVR-ST-10

Length mismatch in Subtype Attribute

Subtype attribute (field) length value must match the parent field.
MVR-ST-11

Precision mismatch in Subtype Attribute

Subtype attribute (field) precision value must match the parent field.
MVR-ST-12

Scale mismatch in Subtype Attribute

Subtype attribute (field) scale value must match the parent field.

Fields and Attributes

MVR-FL-1

Illegal characters in name

Field name contains spaces or special characters, or begins with a numeric character. Replace these with underscores, or remove them.
MVR-FL-2

Name > 32 characters

Names longer than 32 characters are invalid for some geodatabase implementations.
MVR-FL-3

Duplicate field name

Field name already defined in this class.
MVR-FL-4

Duplicate field inherited

Field name in this class also detected in parent class.
MVR-FL-5

Duplicate parent fields

Field name inherited by this class detected in multiple parent classes.
MVR-FL-6

Invalid field name

Field name is a database reserved word.
MVR-FL-7

Missing Precision value

Fields with with type esriFieldTypeInteger (Long Int) must have a precision value specified between 0-9.
MVR-FL-8

Invalid Precision value

Non-numeric Precision value detected. Precision value for esriFieldTypeInteger (Long Int) must be an integer between 0-9.
MVR-FL-9

Invalid Precision value

Out-of-bounds precision value detected. Precision values for esriFieldTypeInteger (Long Int) must be an integer between 0-9.
MVR-FL-10

Missing Length value

Length value for esriFieldTypeString not specified. ArcGIS default is 50.
MVR-FL-11

Invalid Length value

Non-numeric Length value detected for esriFieldTypeString.
MVR-FL-12

Invalid Length value

Out-of-bounds Length value detected for esriFieldTypeString. Length values for esriFieldTypeString (Text) must be an integer between 1-255.
MVR-FL-13

Missing Scale value

Attributes with Double or Float data types must have a scale value set.
MVR-FL-14

Invalid Scale value

Non-numeric Scale value detected for esriFieldTypeDouble or esriFieldTypeSingle (Float). Scale values for this type must be an integer between 1-9.
MVR-FL-15

Invalid Scale value

Out-of-bounds Scale value detected for esriFieldTypeSingle (Float). Scale values for this type must be an integer between 1-6.
MVR-FL-16

Invalid Scale value

Out-of-bounds Scale value detected for esriFieldTypeDouble. Scale values for this type must be an integer between 0-15.
MVR-FL-17

Missing Precision value

Attributes with Double or Float data types must have a Precision value set.
MVR-FL-18

Invalid Precision value

Non-numeric Precision value detected for esriFieldTypeDouble or esriFieldTypeSingle (Float). Precision value must be an integer.
MVR-FL-19

Invalid Precision value

Out-of-bounds Precision value detected for esriFieldTypeSingle (Float). Precision value for this type must be an integer between 1-6.
MVR-FL-20

Invalid Precision value

Out-of-bounds Precision value detected for esriFieldTypeDouble. Precision value for this type must be an integer between 7-15.
MVR-FL-21

Undefined Attribute Domain

The specified Attribute Type refers to an element that was not found in this workspace.
MVR-FL-22

Undefined Attribute Domain Value

The specified Attribute Value is not a valid value for this Domain.
MVR-FL-23

Unlinked Attribute Domain

The specified Attribute Type refers to a domain element, but is not explicitly linked to that element. To link the Attribute Type to its corresponding Domain element, use the ellipsis button next to the Type field in the Attribute Properties dialog.
MVR-FL-24

Unspecified Attribute Type

No Type was specified for this Attribute.
MVR-FL-25

Duplicate esriFieldTypeGlobalID field

A field of type esriFieldTypeGlobalID was defined multiple times within the same class. ArcGIS does not support this.
MVR-FL-26

Duplicate esriFieldTypeGlobalID field inherited

An inherited field of type esriFieldTypeGlobalID was detected and a field of the same type exists either in this class or one of its parents. ArcGIS does not support this.
MVR-FL-27

Invalid Field Type

Subtype Code Field must be of type esriFieldTypeInteger (Long Int) or esriFieldTypeSmallInteger (Short Int).
MVR-FL-28

Invalid Default Subtype Code

The default value of a Subtype Code Field must match a code specified by a descendant subtype.
MVR-FL-29

Missing Default Subtype Code

No default value was specified for this Subtype Field. Use the UML Attribute's Initial Value field.
MVR-FL-30

Non-numeric Default Subtype Code

Non-numeric value detected for the default value of this Subtype Field. Specify an integer value instead.
MVR-FL-31

Obsolete HasM Value

Detected HasM value in the Shape Field's GeometryDef Tagged Value. Use the Class HasM Tagged Value instead.
MVR-FL-32

Obsolete HasZ Value

Detected HasZ value in the Shape Field's GeometryDef Tagged Value. Use the Class HasZ Tagged Value instead.
MVR-FL-33

Field Missing Stereotype

This attribute does not have a stereotype. It is assumed to be a field.
MVR-FL-34

Invalid Default Value

Non-integer default value was specified for an integer field type.
MVR-FL-35

Invalid Default Value

Non-date default value was specified for a date field type.
MVR-FL-36

Duplicate Object ID Field

Detected multiple fields with type esriFieldTypeOID. Only one Object ID Field is allowed per class.
MVR-FL-37

Duplicate Shape Field

Detected multiple fields with type esriFieldTypeGeometry. Only one Shape Field is allowed per class.
MVR-FL-38

Duplicate Spatial Index

Detected multiple fields with stereotype SpatialIndex. Only one Spatial Index is allowed per feature class.
MVR-FL-39

Invalid Required Tagged Value

The Tagged Value named Required, for this attribute, must have a value of true.
MVR-FL-40

Invalid GridSize0 Value

The value of GridSize0 is invalid. It must be an integer or a double between -2.2e308 and 1.8e308. If this model is exported, the value will be set to 0.
MVR-FL-41

Invalid AvgNumPoints Value

The value of AvgNumPoints is invalid. It must be an integer between -2,147,483,648 and 2,147,483,647. If this model is exported, the value will be set to 0.
MVR-FL-42

Missing GridSize0 Value

The value of GridSize0 is missing. If this model is exported, a default value of 0 will be used.
MVR-FL-43

Missing AvgNumPoints Value

The value of AvgNumPoints is missing. If this model is exported, a default value of 0 will be used.

Relationship Class

MVR-RC-1

Missing name

Relationship Class name was not defined. Name must contain at least 1 character.
MVR-RC-2

Illegal characters in name

Relationship Class name contains spaces or special characters, or begins with a numeric character. Replace these with underscores, or remove them.
MVR-RC-3

Name > 32 characters

Names longer than 32 characters are invalid for some geodatabase implementations.
MVR-RC-4

Duplicate Relationship Class name

Relationship Class name was already defined in this workspace.
MVR-RC-5

Missing Destination Class

The Destination Class for this Relationship Class was not found in this workspace.
MVR-RC-6

Invalid Destination Class

The Destination Class for must be a Feature Class or a Table.
MVR-RC-7

Missing Origin Primary Key

The Origin Primary Key was not specified for this Relationship Class.
MVR-RC-8

Invalid Origin Primary Key

The Origin Primary Key was not found in the Origin Class for this Relationship Class.
MVR-RC-9

Missing Origin Foreign Key

The Origin Foreign Key was not specified for this Relationship Class.
MVR-RC-10

Invalid Origin Foreign Key

The Origin Foreign Key was not found in the Destination or Association Class for this Relationship Class.
MVR-RC-11

Missing Destination Primary Key

The Destination Primary Key was not specified for this Relationship Class.
MVR-RC-12

Invalid Destination Primary Key

The Destination Primary Key was not found in the Association Class for this Relationship Class.
MVR-RC-13

Missing Destination Foreign Key

The Destination Foreign Key was not specified for this Relationship Class.
MVR-RC-14

Invalid Destination Foreign Key

The Destination Foreign Key was not found in the Association Class for this Relationship Class.
MVR-RC-15

Missing Association Class

The Association Class for this attributed Relationship Class was not found in this workspace.
MVR-RC-16

Invalid Cardinality for Non-attributed Relationship

Detected M-N relationship, with no Association Class defined.
MVR-RC-17

Missing Key Type

No data type was specified for primary or foreign key field.
MVR-RC-18

Invalid Key Type

The specified data type is not valid for a primary or foreign key field.
MVR-RC-19

Non-Matching Primary and Foreign Key Types

Detected non-matching Primary and Foreign Key types.
MVR-RC-20

Incompatible Foreign Key Type

A Primary Key of type esriFieldTypeOID was detected. The corresponding Foreign Key must be of type: esriFieldTypeInteger.
MVR-RC-21

Invalid OID Field

The UML attribute that was specified as the Object ID field for this Relationship Class does not exist in the UML Association Class. To specify a different UML Attribute, use the OIDFieldName Tagged Value on the UML Association Class.
MVR-RC-22

Invalid OID Field

The UML attribute that was specified as the Object ID field for this Relationship Class does not have a data type of esriFieldTypeOID. To specify a different UML Attribute, use the OIDFieldName Tagged Value on the UML Association Class.

Stereotypes

MVR-CL-1

Invalid class stereotype

This non-Abstract class does not have a recognized ArcGIS UML stereotype.

Tagged Values

MVR-TV-1

Missing required property

Expected Tag with boolean value (true/false).