Object Class Tests
Domain Lookup Validation
Test group: [stdRdapDomainLookupValidation]
The following steps should be used to test that a domain data structure is valid:
- Test case -12200: The domain data structure must be a syntactically valid JSON object.
- Test case -12201: The name of every name/value pairs shall be any of: objectClassName, handle, ldhName, unicodeName, variants, nameservers, secureDNS, entities, status, publicIds, remarks, links, port43, events, notices or rdapConformance.
- Test case -12202: The JSON name/values of objectClassName, handle, ldhName, unicodeName, variants, nameservers, secureDNS, entities, status, publicIds, remarks, links, port43, events, notices or rdapConformance shall appear only once.
- Test case -12203: For the JSON name objectClassName, the value shall be "domain".
- Test case -12204: If the JSON name handle exists, the value shall be a JSON string data type.
- Test case -12205: If the JSON name ldhName, the value shall pass the test LDH name [stdRdapLdhNameValidation] defined in this document.
- Test case -12206: If the JSON name unicodeName exists, the value shall pass the test Unicode name [stdRdapUnicodeNameValidation] defined in this document.
- Test case -12207: If the JSON name variants exists, the value shall pass the test Variants validation [stdRdapVariantsValidation] defined in this document.
- Test case -12208: If the JSON name nameservers exists, the value shall pass the test Nameserver lookup validation [stdRdapNameserverLookupValidation] defined in this document.
- Test case -12209: If the JSON name secureDNS exists, the value shall pass the test Secure DNS validation [stdRdapSecureDnsValidation] defined in this document.
- Test case -12210: If the JSON name entities exists, the value shall pass the test Entities validation [stdRdapEntitiesValidation] defined in this document.
- Test case -12211: If the JSON name status exists, the value shall pass the test Status validation [stdRdapStatusValidation] defined in this document.
- Test case -12212: If the JSON name publicIds exists, the value shall pass the test Public IDs validation [stdRdapPublicIdsValidation] defined in this document.
- Test case -12213: If the JSON name remarks exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12214: If the JSON name links exists, the value shall pass the test Links validation [stdRdapLinksValidation] defined in this document.
- Test case -12215: If the JSON name port43 exists, the value shall pass the test Port 43 WHOIS Server [stdRdapPort43WhoisServerValidation] defined in this document.
- Test case -12216: If the JSON name events exists, the value shall pass the test Events Validation [stdRdapEventsValidation] defined in this document.
- Test case -12217: If the JSON name notices exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12218: If the JSON name notices exists and the domain object is not the topmost JSON object.
- Test case -12219: If the JSON name rdapConformance exists, the value shall pass the test RDAP Conformance validation [stdRdapConformanceValidation] defined in this document.
Entity lookup validation
Test group: [stdRdapEntityLookupValidation]
The following steps should be used to test that an entity data structure is valid:
- Test case -12300: The entity data structure must be a syntactically valid JSON object.
- Test case -12301: The name of every name/value pairs shall be any of: objectClassName, handle, vcardArray, roles, publicIds, entities, remarks, links, events, asEventActor, status, port43, notices or rdapConformance.
- Test case -12302: The JSON name/values of objectClassName, handle, vcardArray, roles, publicIds, entities, remarks, links, events, asEventActor, status, port43, notices or rdapConformance shall exist only once.
- Test case -12303: For the JSON name objectClassName, the value shall be "entity".
- Test case -12304: If the JSON name handle exists, the value shall be a JSON string data type.
- Test case -12305: If the JSON name title vcardArray exists, the value shall be syntactically valid.
- Test case -12306: If the JSON name roles exists, the value shall pass the test Roles validation [stdRdapRolesValidation] defined in this document.
- Test case -12307: If the JSON name publicIds exists, the value shall pass the test Public IDs validation [stdRdapPublicIdsValidation] defined in this document.
- Test case -12308: If the JSON name entities exists, the value shall pass the test Entities validation [stdRdapEntitiesValidation] defined in this document.
- Test case -12309: If the JSON name remarks exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12310: If the JSON name links exists, the value shall pass the test Links validation [stdRdapLinksValidation] defined in this document.
- Test case -12311: If the JSON name events exists, the value shall pass the test Events Validation [stdRdapEventsValidation] defined in this document.
- Test case -12312: If the JSON name asEventActor exists, the value shall pass the test asEventActor Validation [stdRdapAsEventActorValidation] defined in this document.
- Test case -12313: If the JSON name status exists, the value shall pass the test Status validation [stdRdapStatusValidation] defined in this document.
- Test case -12314: If the JSON name port43 exists, the value shall pass the test Port 43 WHOIS Server [stdRdapPort43WhoisServerValidation] defined in this document.
- Test case -12315: If the JSON name notices exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12316: If the JSON name notices exists and the entity object is not the topmost JSON object.
- Test case -12317: If the JSON name rdapConformance exists, the value shall pass the test RDAP Conformance validation [stdRdapConformanceValidation] defined in this document.
Nameserver lookup validation
Test group: [stdRdapNameserverLookupValidation]
The following steps should be used to test that a nameserver data structure is valid:
- Test case -12400: The nameserver data structure must be a syntactically valid JSON object.
- Test case -12401: The name of every name/value pairs shall be any of: objectClassName, handle, ldhName, unicodeName, ipAddresses, entities, status, remarks, links, port43, events, notices or rdapConformance.
- Test case -12402: The JSON name/values of objectClassName, handle, ldhName, unicodeName, ipAddresses, entities, status, remarks, links, port43, events, notices or rdapConformance shall exist only once.
- Test case -12403: For the JSON name objectClassName, the value shall be "nameserver".
- Test case -12404: If the JSON name handle exists, the value shall be a JSON string data type.
- Test case -12405: If the JSON name ldhName exists, the value shall pass the test LDH name [stdRdapLdhNameValidation] defined in this document.
- Test case -12406: If the JSON name unicodeName exists, the value shall pass the test Unicode name [stdRdapUnicodeNameValidation] defined in this document.
- Test case -12407: If the JSON name ipAddresses exists, the value shall pass the test IP Addresses Validation [stdRdapIpAddressesValidation] defined in this document.
- Test case -12408: If the JSON name entities exists, the value shall pass the test Entities validation [stdRdapEntitiesValidation] defined in this document.
- Test case -12409: If the JSON name status exists, the value shall pass the test Status validation [stdRdapStatusValidation] defined in this document.
- Test case -12410: If the JSON name remarks exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12411: If the JSON name links exists, the value shall pass the test Links validation [stdRdapLinksValidation] defined in this document.
- Test case -12412: If the JSON name port43 exists, the value shall pass the test Port 43 WHOIS Server [stdRdapPort43WhoisServerValidation] defined in this document.
- Test case -12413: If the JSON name events exists, the value shall pass the test Events Validation [stdRdapEventsValidation] defined in this document.
- Test case -12414: If the JSON name notices exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12415: If the JSON name notices exists and the nameserver object is not the topmost JSON object.
- Test case -12416: If the JSON name rdapConformance exists, the value shall pass the test RDAP Conformance validation [stdRdapConformanceValidation] defined in this document.
Help validation
Test group:[stdRdapHelpValidation]
The following steps should be used to test that a help data structure is valid:
- Test case -12500: The help data structure must be a syntactically valid JSON object.
- Test case -12501: The name of every name/value pairs shall be notices or rdapConformance.
- Test case -12502: The JSON name/values of notices or rdapConformance shall exist only once.
- Test case -12503: If the JSON name notices exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12504: If the JSON name rdapConformance exists, the value shall pass the test RDAP Conformance validation [stdRdapConformanceValidation] defined in this document.
Nameservers search validation
Test group: [stdRdapNameserversSearchValidation]
The following steps should be used to test that a nameserverSearchResults data structure is valid:
- Test case -12600: The nameserverSearchResults data structure must be a syntactically valid JSON object.
- Test case -12601: The name of every name/value pairs shall be any of: nameserverSearchResults, remarks, events, notices or rdapConformance.
- Test case -12602: The JSON name/values of nameserverSearchResults, remarks, events, notices or rdapConformance shall exist only once.
- Test case -12603: The nameserverSearchResults data structure must be a syntactically valid JSON array.
- For every object (i.e. nameserver) of the JSON array, verify that the nameserverSearchResults structure complies with:
- Test case -12604: The object (i.e. nameserver) shall pass the Nameserver lookup validation [stdRdapNameserverLookupValidation] test.
- Test case -12605: If the JSON name remarks exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12606: If the JSON name events exists, the value shall pass the test Events Validation [stdRdapEventsValidation] defined in this document.
- Test case -12607: If the JSON name notices exists, the value shall pass the test Notices and Remarks Validation [stdRdapNoticesRemarksValidation] defined in this document.
- Test case -12608: If the JSON name notices exists and the object is not the topmost JSON object.
- Test case -12609: If the JSON name rdapConformance exists, the value shall pass the test RDAP Conformance validation [stdRdapConformanceValidation] defined in this document.
- Test case -12610: The nameserverSearchResults value must exist.