mirror of
https://github.com/google/nomulus.git
synced 2025-08-05 17:28:25 +02:00
NewRegistrar will still have the email address "new.registrar@example.com" and TheRegistrar will now have the email address "the.registrar@example.com". I noticed this when looking at the Spec11 testing code and this will make it easier to test that code later when we retrieve email addresses from the registrar datastore objects themselves. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=242676543
78 lines
1.8 KiB
JSON
78 lines
1.8 KiB
JSON
{
|
|
"status": [
|
|
"active"
|
|
],
|
|
"handle": "%HANDLE%",
|
|
"links": [
|
|
{
|
|
"href": "https://example.tld/rdap/nameserver/%NAME%",
|
|
"type": "application/rdap+json",
|
|
"rel": "self",
|
|
"value": "https://example.tld/rdap/nameserver/%NAME%"
|
|
}
|
|
],
|
|
"ldhName": "%NAME%",
|
|
"events": [
|
|
{
|
|
"eventAction": "registration",
|
|
"eventActor": "foo",
|
|
"eventDate": "1999-01-01T00:00:00.000Z"
|
|
},
|
|
{
|
|
"eventAction": "last update of RDAP database",
|
|
"eventDate": "2000-01-01T00:00:00.000Z"
|
|
}
|
|
],
|
|
"objectClassName": "nameserver",
|
|
"entities" : [
|
|
{
|
|
"objectClassName" : "entity",
|
|
"handle" : "1",
|
|
"status" : ["active"],
|
|
"roles" : ["registrar"],
|
|
"links" :
|
|
[
|
|
{
|
|
"value" : "https://example.tld/rdap/entity/1",
|
|
"rel" : "self",
|
|
"href" : "https://example.tld/rdap/entity/1",
|
|
"type" : "application/rdap+json"
|
|
}
|
|
],
|
|
"publicIds" :
|
|
[
|
|
{
|
|
"type" : "IANA Registrar ID",
|
|
"identifier" : "1"
|
|
}
|
|
],
|
|
"vcardArray" :
|
|
[
|
|
"vcard",
|
|
[
|
|
["version", {}, "text", "4.0"],
|
|
["fn", {}, "text", "The Registrar"],
|
|
["adr", {}, "text", [
|
|
"",
|
|
"",
|
|
"123 Example Boulevard",
|
|
"Williamsburg",
|
|
"NY",
|
|
"11211",
|
|
"United States"]],
|
|
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2223334444"],
|
|
["email", {}, "text", "the.registrar@example.com"]
|
|
]
|
|
],
|
|
"remarks": [
|
|
{
|
|
"title": "Incomplete Data",
|
|
"description": [
|
|
"Summary data only. For complete data, send a specific query for the object."
|
|
],
|
|
"type": "object truncated due to unexplainable reasons"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|