Domain Technical Contact Tests
RP 2024 Section 2.7.6.1
Test group: [rdapResponseProfile2024_2_7_6_1_Validation]
These tests only apply to an entity with the “technical” role, if present.
- Test case -65000: Verify the fn property of all the vCard objects of the entity with the “technical” role is present.
If the fn property above is present but empty, the following tests apply:
- Test case -65001: 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 “Tech Name”.
- Test case -65002: 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 postPath property is present with a valid JSONPath expression.
- Test case -65003: With the JSONPath expression from above, if the pathLang property is either absent or is present as a string of “jsonpath” then verify that the expression evaluates to a non-empty set.
- Test case -65004: In the redaction object from the above test, verify that the method property is present as is a JSON string of “emptyValue”.
RP 2024 Section 2.7.6.2
Test group: [rdapResponseProfile2024_2_7_6_2_Validation]
These tests only apply to an entity with the “technical” role, if present.
If a tel property with a “voice” parameter on the vCards for the entity with the role of “technical” is not present, the following tests apply:
- Test case -65100: 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 “Tech Phone”.
- Test case -65101: 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 with a valid JSONPath expression.
- Test case -65102: With the JSONPath expression from above, if the pathLang property is either absent or is present as a string of “jsonpath” then verify that the expression evaluates to an empty set.
- Test case -65103: 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 2024 Section 2.7.6.3
Test group: [rdapResponseProfile2024_2_7_6_3_Validation]
These tests only apply to an entity with the “technical” role, if present.
If 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 “Tech Email”, these tests apply:
- Test case -65200: Verify that the contact-uri property and the email property do not exist together on any vCards for the entity with the role of “technical”.
- Test case -65201: Verify that either the contact-uri property or the email property exists on all vCards for the entity with the role of “technical”.
- Test case -65202: In the redaction object from the above test, verify that the method property is present and is a JSON string of “replacementValue”.
Given the above, if the email property exists on any of the vCards, the following tests apply:
- Test case -65203: In the redaction object from the above, if the pathLang property is either absent or is present as a JSON string of “jsonpath”, then verify that the postPath property is either absent or is present with a valid JSONPath expression.
- Test case -65204: With the JSONPath expression from above, if the pathLang property is either absent or is present as a string of “jsonpath” then verify that the expression evaluates to a non-empty set.
Given the above, if the contact-uri property exists on any of the vCards, the following tests apply:
- Test case -65205: In the redaction object from the above, if the pathLang property is either absent or is present as a JSON string of “jsonpath”, then verify that the replacementPath property is either absent or is present with a valid JSONPath expression.
- Test case -65206: In the redaction object from the above, 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 with a valid JSONPath expression.
- Test case -65207: With the JSONPath expression from above in replacementPath, if the pathLang property is either absent or is present as a string of “jsonpath” then verify that the expression evaluates to a non-empty set.