Domain Tests
RP Section 2.2
Test group: [rdapResponseProfile_2_2_Validation]
If the handle is in the topmost domain object, the following tests apply:
- Test case -46200: The handle in the topmost domain object shall comply with the following format specified in RFC5730: "(\w|_){1,80}-\w{1,8}".
- Test case -46201: If the handle in the topmost domain object comply with the format: "(\w|_){1,80}-\w{1,8}", validate that the string followed by a hyphen ("-", ASCII value 0x002D) is registered in EPPROID.
If the handle is NOT in the topmost domain object, the following tests apply:
- Test case -46202: Verify that a redaction object (see RFC 9537) is in the redacted array with a name object containing the type property which is a JSON string of “Registry Domain ID”.
- Test case -46203: In the redaction object from the above test, if the pathLang property is either absent or is present as a JSON string of “jsonpath”, then verify that the prePath property is either absent or is present as a JSON string of “$.handle”.
- Test case -46204: In the redaction object from the above test, verify that the method property is either absent or is present as is a JSON string of “removal”.
RP Section 2.6.3
Test group: [rdapResponseProfile_2_6_3_Validation]
- Test case -46601: Validate that the notices member contains an element in the JSON array with a title “Status Codes”.
- Test case -46602: With the notice object above, validate that it contains a description array containing one string of “For more information on domain status codes, please visit https://icann.org/epp”. This test should ignore extra whitespace and trailing punctuation.
- Test case -46603: With the notice object above, validate that it contains a links array.
- Test case -46604: With the links array above, validate that it contains one link object with an href property of “https://icann.org/epp”.
- Test case -46605: With the link object above, validate that it contains a rel property that is a string of “glossary”.
- Test case -46606: With the link object above, validate that it contains a value property that is a string of the URL used to query for this response.
RP Section 2.10
Test group: [rdapResponseProfile_2_10_Validation]
- Test case -46701: Validate that the notices member contains an element in the JSON array with a title ““RDDS Inaccuracy Complaint Form”.
- Test case -46702: With the notice object above, validate that it contains a description array containing one string of “URL of the ICANN RDDS Inaccuracy Complaint Form: https://icann.org/wicf”. This test should ignore extra whitespace and trailing punctuation.
- Test case -46703: With the notice object above, validate that it contains a links array.
- Test case -46704: With the links array above, validate that it contains one link object with an href property of “https://icann.org/wicf”.
- Test case -46705: With the link object above, validate that it contains a rel property that is a string of “help”.
- Test case -46706: With the link object above, validate that it contains a value property that is a string of the URL used to query for this response.
RP 2024 Section 2.7.3
Test group: [rdapResponseProfile2024_2_7_3_Validation]
- Test case -47600: For every entity of the domain (i.e. the top-level entities of the domain, not entities subordinate to other entities) excluding entities with the roles “registrar”, “registrant”, or “technical”, verify the handle is of the format: "(\w|_){1,80}-\w{1,8}".
- Test case -47601: With the handle above, verify the string followed by a hyphen (“-”, ASCII value 0x002D) is registered in the EPPROID dataset.
RP 2024 Section 2.4.6
Test group: [rdapResponseProfile2024_2_4_6_Validation]
- Test case -47700: Verify that the domain object has one entity with the role “registrar” with one link object in the links array with a rel property of the string “about”.
- Test case -47701: With the handle of the “registrar” entity, verify that the “value” property of the link object above matches one of the base URLs in the registrarId data set.
- Test case -47702: With the link object above, validate the href property contains an URL with the “https” scheme.
- Test case -47703: With the link object above, verify that the href property is a valid URI according to the rules in webUriValidation.