2. Incorrect Data Length or Range

2.1 Invalid data length.

The string is too short/long.

RuleID Data Field Description
2.1.1 network/id The network id must be between 1 and 255 characters long.
2.1.2 network/name The network name must be between 1 and 255 characters long.
2.1.3 network/networkDescription The network description must be between 0 and 500 characters long.
2.1.4 network/networkURL The network URL must be between 0 and 255 characters long.
2.1.5 network/contactDetails/name The network contact name must be between 0 and 100 characters long.
2.1.6 network/contactDetails/phone The network contact phone must be between 0 and 100 characters long.
2.1.7 network/contactDetails/address The network contact address must be between 0 and 255 characters long.
2.1.8 network/contactDetails/onlineResource The network contact onlineResource must be between 0 and 100 characters long.
2.1.9 network/extensionFieldName1 The network extension field 1 name must be between 0 and 100 characters long.
2.1.10 network/extensionFieldName2 The network extension field 2 name must be between 0 and 100 characters long.
2.1.11 network/extensionFieldName3 The network extension field 3 name must be between 0 and 100 characters long.
2.1.12 network/extensionFieldName4 The network extension field 4 name must be between 0 and 100 characters long.
2.1.13 network/extensionFieldName5 The network extension field 5 name must be between 0 and 100 characters long.
2.1.14 site/id The site id must be between 1 and 255 characters long.
2.1.15 site/name The site name must be between 1 and 255 characters long.
2.1.16 site/siteDescription The site description must be between 0 and 500 characters long.
2.1.17 site/siteURL The site URL must be between 0 and 255 characters long.
2.1.18 site/operatingAuthority/name The operating authority name must be between 1 and 255 characters long.
2.1.19 site/operatingAuthority/URL The operating authority URL must be between 0 and 255 characters long.
2.1.20 site/extensionFieldValue1 The site extension field value 1 must be between 0 and 500 characters long.
2.1.21 site/extensionFieldValue2 The site extension field value 2 must be between 0 and 500 characters long.
2.1.22 site/extensionFieldValue3 The site extension field value 3 must be between 0 and 500 characters long.
2.1.23 site/extensionFieldValue4 The site extension field value 4 must be between 0 and 500 characters long.
2.1.24 site/extensionFieldValue5 The site extension field value 5 must be between 0 and 500 characters long.
2.1.25 observingCapabilities/procedure The procedure must be between 0 and 255 characters long.

2.2 Invalid range

The value supplied should be greater than x and less than y.

RuleID Data Field Description
2.2.1 site/latitude The site latitude must be between -90 and 90.
2.2.2 site/longitude The site longitude must be between -180 and 180.
2.2.3 site/elevation The site elevation must be between -10000 and 10000.