mirror of
https://github.com/google/nomulus.git
synced 2025-08-07 18:25:20 +02:00
For domains (and soon for hosts as well), we output data about the owning registrar. These subrecords wind up being really big if we include all data, because they also list all the registrar contacts. To avoid bloating the RDAP responses, change to output domain response registrar information in summary format, meaning we skip the registrar contacts and events. The requester can still get this information by using the link provided to request the registrar directly. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=209189993
231 lines
6 KiB
JSON
231 lines
6 KiB
JSON
{
|
|
"objectClassName" : "domain",
|
|
"handle" : "18-Q9JYB4C",
|
|
"ldhName" : "fish.xn--q9jyb4c",
|
|
"unicodeName" : "fish.みんな",
|
|
"status" :
|
|
[
|
|
"client delete prohibited",
|
|
"client renew prohibited",
|
|
"client transfer prohibited",
|
|
"inactive",
|
|
"server update prohibited"
|
|
],
|
|
"links" :
|
|
[
|
|
{
|
|
"value" : "http://myserver.example.com/domain/fish.xn--q9jyb4c",
|
|
"rel" : "self",
|
|
"href" : "http://myserver.example.com/domain/fish.xn--q9jyb4c",
|
|
"type" : "application/rdap+json"
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"eventAction": "registration",
|
|
"eventActor": "foo",
|
|
"eventDate": "2000-01-01T00:00:00.000Z"
|
|
},
|
|
{
|
|
"eventAction": "expiration",
|
|
"eventDate": "2110-10-08T00:44:59.000Z"
|
|
},
|
|
{
|
|
"eventAction": "last changed",
|
|
"eventDate": "2009-05-29T20:13:00.000Z"
|
|
},
|
|
{
|
|
"eventAction": "last update of RDAP database",
|
|
"eventDate": "2000-01-01T00:00:00.000Z"
|
|
}
|
|
],
|
|
"entities" :
|
|
[
|
|
{
|
|
"objectClassName" : "entity",
|
|
"handle" : "4-ROID",
|
|
"status" : ["active", "associated"],
|
|
"roles" : ["administrative"],
|
|
"links" :
|
|
[
|
|
{
|
|
"value" : "http://myserver.example.com/entity/4-ROID",
|
|
"rel" : "self",
|
|
"href" : "http://myserver.example.com/entity/4-ROID",
|
|
"type" : "application/rdap+json"
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"eventAction": "registration",
|
|
"eventActor": "foo",
|
|
"eventDate": "1998-01-01T00:00:00.000Z"
|
|
},
|
|
{
|
|
"eventAction": "last update of RDAP database",
|
|
"eventDate": "2000-01-01T00:00:00.000Z"
|
|
}
|
|
],
|
|
"vcardArray" :
|
|
[
|
|
"vcard",
|
|
[
|
|
["version", {}, "text", "4.0"],
|
|
["fn", {}, "text", "Santa Claus"],
|
|
["org", {}, "text", "GOOGLE INCORPORATED <script>"],
|
|
["adr", {}, "text", [
|
|
"",
|
|
"",
|
|
[
|
|
"Santa Claus Tower",
|
|
"41st floor",
|
|
"Suite みんな"
|
|
],
|
|
"KOKOMO",
|
|
"BM",
|
|
"31337",
|
|
"United States"]],
|
|
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2126660420"],
|
|
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2126660420"]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"objectClassName" : "entity",
|
|
"handle" : "6-ROID",
|
|
"status" : ["active", "associated"],
|
|
"roles" : ["technical"],
|
|
"links" :
|
|
[
|
|
{
|
|
"value" : "http://myserver.example.com/entity/6-ROID",
|
|
"rel" : "self",
|
|
"href" : "http://myserver.example.com/entity/6-ROID",
|
|
"type" : "application/rdap+json"
|
|
}
|
|
],
|
|
"events": [
|
|
{
|
|
"eventAction": "registration",
|
|
"eventActor": "foo",
|
|
"eventDate": "1997-01-01T00:00:00.000Z"
|
|
},
|
|
{
|
|
"eventAction": "last update of RDAP database",
|
|
"eventDate": "2000-01-01T00:00:00.000Z"
|
|
}
|
|
],
|
|
"vcardArray" :
|
|
[
|
|
"vcard",
|
|
[
|
|
["version", {}, "text", "4.0"],
|
|
["fn", {}, "text", "The Raven"],
|
|
["org", {}, "text", "GOOGLE INCORPORATED <script>"],
|
|
["adr", {}, "text", [
|
|
"",
|
|
"",
|
|
[
|
|
"Chamber Door",
|
|
"upper level"
|
|
],
|
|
"KOKOMO",
|
|
"BM",
|
|
"31337",
|
|
"United States"]],
|
|
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2126660420"],
|
|
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2126660420"],
|
|
["email", {}, "text", "bog@cat.みんな"]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"objectClassName" : "entity",
|
|
"handle" : "2-ROID",
|
|
"status" : ["active", "associated"],
|
|
"roles" : ["registrant"],
|
|
"links" :
|
|
[
|
|
{
|
|
"value" : "http://myserver.example.com/entity/2-ROID",
|
|
"rel" : "self",
|
|
"href" : "http://myserver.example.com/entity/2-ROID",
|
|
"type" : "application/rdap+json"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
],
|
|
"vcardArray" :
|
|
[
|
|
"vcard",
|
|
[
|
|
["version", {}, "text", "4.0"],
|
|
["fn", {}, "text", "(◕‿◕)"],
|
|
["org", {}, "text", "GOOGLE INCORPORATED <script>"],
|
|
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2126660420"],
|
|
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2126660420"],
|
|
["email", {}, "text", "lol@cat.みんな"]
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"objectClassName" : "entity",
|
|
"handle" : "1",
|
|
"status" : ["active"],
|
|
"roles" : ["registrar"],
|
|
"links" :
|
|
[
|
|
{
|
|
"value" : "http://myserver.example.com/entity/1",
|
|
"rel" : "self",
|
|
"href" : "http://myserver.example.com/entity/1",
|
|
"type" : "application/rdap+json"
|
|
}
|
|
],
|
|
"publicIds" :
|
|
[
|
|
{
|
|
"type" : "IANA Registrar ID",
|
|
"identifier" : "1"
|
|
}
|
|
],
|
|
"vcardArray" :
|
|
[
|
|
"vcard",
|
|
[
|
|
["version", {}, "text", "4.0"],
|
|
["fn", {}, "text", "みんな"],
|
|
["adr", {}, "text", [
|
|
"",
|
|
"",
|
|
"123 Example Boulevard <script>",
|
|
"Williamsburg <script>",
|
|
"NY",
|
|
"11211",
|
|
"United States"]],
|
|
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2125551212"],
|
|
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2125551213"],
|
|
["email", {}, "text", "contact-us@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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|