Reimplement the RDAP Json creation using Jsonables

Currently we try to reimplemnet the same behavior of the existing code as much
as possible.

We only fix issues that go against the RFC7483, but we don't yet update the
code to follow the latest (15feb19) RDAP Response Profile. That will require a
much bigger change especially for the test files, so it'll wait for a followup
CL.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=246948018
This commit is contained in:
guyben 2019-05-06 20:25:56 -07:00 committed by jianglai
parent 5e2a20cdcf
commit 7202a38f8b
85 changed files with 2589 additions and 2367 deletions

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName" : "entity",
"handle" : "%NAME%",
"status" : ["active", "associated"],

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName" : "entity",
"handle" : "%NAME%",
"status" : ["active", "associated", "removed"],
@ -21,5 +24,23 @@
"eventAction": "last update of RDAP database",
"eventDate": "2000-01-01T00:00:00.000Z"
}
],
"remarks": [
{
"title": "Redacted for Privacy",
"type": "object redacted due to authorization",
"links": [
{
"type":"text\/html",
"value": "https:\/\/github.com\/google\/nomulus\/blob\/master\/docs\/rdap.md#authentication",
"href": "https:\/\/github.com\/google\/nomulus\/blob\/master\/docs\/rdap.md#authentication",
"rel": "alternate"
}
],
"description": [
"Some of the data in this object has been removed.",
"Contact personal data is visible only to the owning registrar."
]
}
]
}

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName" : "entity",
"handle" : "%NAME%",
"status" : ["%STATUS%"],

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName" : "entity",
"handle" : "%NAME%",
"status" : ["inactive"],

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName" : "entity",
"handle" : "%NAME%",
"status" : ["active", "removed"],
@ -24,12 +27,12 @@
],
"remarks": [
{
"title": "Data Policy",
"title": "Redacted for Privacy",
"description": [
"Some of the data in this object has been removed.",
"Contact personal data is visible only to the owning registrar."
],
"type": "object truncated due to authorization",
"type": "object redacted due to authorization",
"links" :
[
{

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"client delete prohibited",
"client renew prohibited",

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"client delete prohibited",
"client renew prohibited",

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"client delete prohibited",
"client renew prohibited",

View file

@ -1,262 +0,0 @@
{
"objectClassName": "domain",
"handle": "%HANDLE%",
"ldhName": "%NAME%",
"status": [
"client delete prohibited",
"client renew prohibited",
"client transfer prohibited",
"server update prohibited"
],
"links": [
{
"href": "https://example.tld/rdap/domain/%NAME%",
"type": "application/rdap+json",
"rel": "self",
"value": "https://example.tld/rdap/domain/%NAME%"
}
],
"events": [
{
"eventAction": "registration",
"eventActor": "foo",
"eventDate": "2000-01-01T00:00:00.000Z"
},
{
"eventAction": "expiration",
"eventDate": "2110-10-08T00:44:59.000Z"
},
{
"eventAction": "last update of RDAP database",
"eventDate": "2000-01-01T00:00:00.000Z"
}
],
"nameservers": [
{
"status": [
"active",
"associated"
],
"handle": "%NAMESERVER1ROID%",
"links": [
{
"href": "https://example.tld/rdap/nameserver/%NAMESERVER1NAME%",
"type": "application/rdap+json",
"rel": "self",
"value": "https://example.tld/rdap/nameserver/%NAMESERVER1NAME%"
}
],
"ldhName": "%NAMESERVER1NAME%",
"ipAddresses": {
"v4": [
"%NAMESERVER1ADDRESS%"
]
},
"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",
"status": [ "active" ],
"handle": "1",
"roles": [ "registrar" ],
"links": [
{
"href": "https://example.tld/rdap/entity/1",
"type": "application/rdap+json",
"rel": "self",
"value": "https://example.tld/rdap/entity/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"]
]
],
"publicIds" : [
{
"type": "IANA Registrar ID",
"identifier":"1"
}
],
"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"
}
]
}
]
},
{
"status": [
"active",
"associated"
],
"handle": "%NAMESERVER2ROID%",
"links": [
{
"href": "https://example.tld/rdap/nameserver/%NAMESERVER2NAME%",
"type": "application/rdap+json",
"rel": "self",
"value": "https://example.tld/rdap/nameserver/%NAMESERVER2NAME%"
}
],
"ldhName": "%NAMESERVER2NAME%",
"ipAddresses": {
"v6": [
"%NAMESERVER2ADDRESS%"
]
},
"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"
}
],
"objectClassName": "nameserver",
"entities": [
{
"objectClassName": "entity",
"status": [ "active" ],
"handle": "1",
"roles": [ "registrar" ],
"links": [
{
"href": "https://example.tld/rdap/entity/1",
"type": "application/rdap+json",
"rel": "self",
"value": "https://example.tld/rdap/entity/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"]
]
],
"publicIds" : [
{
"type": "IANA Registrar ID",
"identifier":"1"
}
],
"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"
}
]
}
]
}
],
"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", "%REGISTRARNAME%"],
["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"
}
]
}
]
}

View file

@ -2,6 +2,9 @@
"objectClassName": "domain",
"handle": "%HANDLE%",
"ldhName": "%NAME%",
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"client delete prohibited",
"client renew prohibited",

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"client delete prohibited",
"client renew prohibited",

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName": "domain",
"handle": "%HANDLE%",
"ldhName": "%PUNYCODENAME%",

View file

@ -0,0 +1,36 @@
{
"lang": "en",
"errorCode": %CODE%,
"title": "%TITLE%",
"description": [
"%DESCRIPTION%"
],
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"notices": [
{
"description": [
"By querying our Domain Database, you are agreeing to comply with these terms so please read them carefully.",
"Any information provided is 'as is' without any guarantee of accuracy.",
"Please do not misuse the Domain Database. It is intended solely for query-based access.",
"Don't use the Domain Database to allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations.",
"Don't access our Domain Database through the use of high volume, automated electronic processes that send queries or data to the systems of any ICANN-accredited registrar.",
"You may only use the information contained in the Domain Database for lawful purposes.",
"Do not compile, repackage, disseminate, or otherwise use the information contained in the Domain Database in its entirety, or in any substantial portion, without our prior written permission.",
"We may retain certain details about queries to our Domain Database for the purposes of detecting and preventing misuse.",
"We reserve the right to restrict or deny your access to the database if we suspect that you have failed to comply with these terms.",
"We reserve the right to modify this agreement at any time."
],
"links": [
{
"href": "https://www.registry.tld/about/rdap/tos.html",
"rel": "alternate",
"type": "text/html",
"value": "https://example.tld/rdap/help/tos"
}
],
"title": "RDAP Terms of Service"
}
]
}

View file

@ -1,11 +0,0 @@
{
"lang": "en",
"errorCode": 400,
"title": "Bad Request",
"description": [
"%NAME%"
],
"rdapConformance": [
"icann_rdap_response_profile_0"
]
}

View file

@ -1,11 +0,0 @@
{
"lang": "en",
"errorCode": 404,
"title": "Not Found",
"description": [
"%NAME%"
],
"rdapConformance": [
"icann_rdap_response_profile_0"
]
}

View file

@ -1,11 +0,0 @@
{
"lang": "en",
"errorCode": 422,
"title": "Unprocessable Entity",
"description": [
"%NAME%"
],
"rdapConformance": [
"icann_rdap_response_profile_0"
]
}

View file

@ -1,11 +0,0 @@
{
"lang": "en",
"errorCode": 501,
"title": "Not Implemented",
"description": [
"%NAME%"
],
"rdapConformance": [
"icann_rdap_response_profile_0"
]
}

View file

@ -1,14 +0,0 @@
{
"key" : "value",
"rdapConformance" : [ "icann_rdap_response_profile_0" ],
"notices" : [ {
"title" : "RDAP Terms of Service",
"description" : [ "By querying our Domain Database, you are agreeing to comply with these terms so please read them carefully.", "Any information provided is 'as is' without any guarantee of accuracy.", "Please do not misuse the Domain Database. It is intended solely for query-based access.", "Don't use the Domain Database to allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations.", "Don't access our Domain Database through the use of high volume, automated electronic processes that send queries or data to the systems of any ICANN-accredited registrar.", "You may only use the information contained in the Domain Database for lawful purposes.", "Do not compile, repackage, disseminate, or otherwise use the information contained in the Domain Database in its entirety, or in any substantial portion, without our prior written permission.", "We may retain certain details about queries to our Domain Database for the purposes of detecting and preventing misuse.", "We reserve the right to restrict or deny your access to the database if we suspect that you have failed to comply with these terms.", "We reserve the right to modify this agreement at any time." ],
"links" : [ {
"value" : "http://myserver.example.com/help/tos",
"rel" : "alternate",
"href" : "https://www.registry.tld/about/rdap/tos.html",
"type" : "text/html"
} ]
} ]
}

View file

@ -21,7 +21,7 @@
"links" :
[
{
"value" : "https://example.tld/rdap/help/%NAME%",
"value" : "https://example.tld/rdap/help",
"rel" : "alternate",
"type" : "text/html",
"href" : "https://github.com/google/nomulus/blob/master/docs/rdap.md"

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"%STATUS%"
],

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"active"
],

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"active",
"associated"

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"status": [
"active"
],

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName" : "entity",
"handle" : "%NAME%",
"status" : ["%STATUS%"],

View file

@ -1,4 +1,7 @@
{
"rdapConformance": [
"icann_rdap_response_profile_0"
],
"objectClassName" : "entity",
"handle" : "%NAME%",
"status" : ["%STATUS%"],

View file

@ -337,7 +337,7 @@
{
"type" : "application/rdap+json",
"rel" : "next",
"href" : "https://example.tld/rdap/nameservers?%NAME%"
"href" : "https://example.tld/rdap/nameservers?%QUERY%"
}
]
},

View file

@ -1 +1 @@
{"key":"value","rdapConformance":["icann_rdap_response_profile_0"],"notices":[{"title":"RDAP Terms of Service","description":["By querying our Domain Database, you are agreeing to comply with these terms so please read them carefully.","Any information provided is 'as is' without any guarantee of accuracy.","Please do not misuse the Domain Database. It is intended solely for query-based access.","Don't use the Domain Database to allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations.","Don't access our Domain Database through the use of high volume, automated electronic processes that send queries or data to the systems of any ICANN-accredited registrar.","You may only use the information contained in the Domain Database for lawful purposes.","Do not compile, repackage, disseminate, or otherwise use the information contained in the Domain Database in its entirety, or in any substantial portion, without our prior written permission.","We may retain certain details about queries to our Domain Database for the purposes of detecting and preventing misuse.","We reserve the right to restrict or deny your access to the database if we suspect that you have failed to comply with these terms.","We reserve the right to modify this agreement at any time."],"links":[{"value":"http:\/\/myserver.example.com\/help\/tos","rel":"alternate","href":"https:\/\/www.registry.tld\/about\/rdap\/tos.html","type":"text\/html"}]}]}
{"key":"value","rdapConformance":["icann_rdap_response_profile_0"],"notices":[{"title":"RDAP Terms of Service","links":[{"href":"https:\/\/www.registry.tld\/about\/rdap\/tos.html","rel":"alternate","type":"text\/html","value":"http:\/\/myserver.example.com\/help\/tos"}],"description":["By querying our Domain Database, you are agreeing to comply with these terms so please read them carefully.","Any information provided is 'as is' without any guarantee of accuracy.","Please do not misuse the Domain Database. It is intended solely for query-based access.","Don't use the Domain Database to allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations.","Don't access our Domain Database through the use of high volume, automated electronic processes that send queries or data to the systems of any ICANN-accredited registrar.","You may only use the information contained in the Domain Database for lawful purposes.","Do not compile, repackage, disseminate, or otherwise use the information contained in the Domain Database in its entirety, or in any substantial portion, without our prior written permission.","We may retain certain details about queries to our Domain Database for the purposes of detecting and preventing misuse.","We reserve the right to restrict or deny your access to the database if we suspect that you have failed to comply with these terms.","We reserve the right to modify this agreement at any time."]}]}

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/4-ROID",
"value" : "https://example.tld/rdap/entity/4-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/4-ROID",
"href" : "https://example.tld/rdap/entity/4-ROID",
"type" : "application/rdap+json"
}
],

View file

@ -13,9 +13,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/domain/cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/domain/cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/domain/cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/domain/cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -54,9 +54,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns1.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns1.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns1.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns1.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -84,9 +84,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],
@ -137,9 +137,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns2.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns2.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns2.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns2.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -167,9 +167,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],
@ -222,9 +222,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/4-ROID",
"value" : "https://example.tld/rdap/entity/4-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/4-ROID",
"href" : "https://example.tld/rdap/entity/4-ROID",
"type" : "application/rdap+json"
}
],
@ -271,9 +271,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/6-ROID",
"value" : "https://example.tld/rdap/entity/6-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/6-ROID",
"href" : "https://example.tld/rdap/entity/6-ROID",
"type" : "application/rdap+json"
}
],
@ -320,9 +320,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/2-ROID",
"value" : "https://example.tld/rdap/entity/2-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/2-ROID",
"href" : "https://example.tld/rdap/entity/2-ROID",
"type" : "application/rdap+json"
}
],
@ -345,7 +345,7 @@
["fn", {}, "text", "(◕‿◕)"],
["org", {}, "text", "GOOGLE INCORPORATED <script>"],
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2126660420"],
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2126660420"]
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2126660420"],
["email", {}, "text", "lol@cat.みんな"]
]
]
@ -358,9 +358,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -13,9 +13,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/domain/cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/domain/cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/domain/cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/domain/cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -54,9 +54,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns1.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns1.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns1.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns1.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -84,9 +84,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],
@ -137,9 +137,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns2.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns2.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns2.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns2.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -167,9 +167,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],
@ -221,9 +221,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -14,9 +14,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/domain/fish.xn--q9jyb4c",
"value" : "https://example.tld/rdap/domain/fish.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/domain/fish.xn--q9jyb4c",
"href" : "https://example.tld/rdap/domain/fish.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -45,9 +45,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/4-ROID",
"value" : "https://example.tld/rdap/entity/4-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/4-ROID",
"href" : "https://example.tld/rdap/entity/4-ROID",
"type" : "application/rdap+json"
}
],
@ -94,9 +94,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/6-ROID",
"value" : "https://example.tld/rdap/entity/6-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/6-ROID",
"href" : "https://example.tld/rdap/entity/6-ROID",
"type" : "application/rdap+json"
}
],
@ -143,9 +143,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/2-ROID",
"value" : "https://example.tld/rdap/entity/2-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/2-ROID",
"href" : "https://example.tld/rdap/entity/2-ROID",
"type" : "application/rdap+json"
}
],
@ -181,9 +181,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -13,9 +13,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/domain/cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/domain/cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/domain/cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/domain/cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],

View file

@ -1,9 +1,5 @@
{
"rdapConformance" :
[
"icann_rdap_response_profile_0"
],
"lang" : "en"
"lang" : "en",
"errorCode" : 400,
"title" : "Invalid Domain Name",
"description" :

View file

@ -7,9 +7,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns3.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns3.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns3.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns3.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -38,9 +38,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -7,9 +7,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns3.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns3.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns3.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns3.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -36,9 +36,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -7,9 +7,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns1.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns1.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns1.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns1.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -37,9 +37,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -7,9 +7,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns2.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns2.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns2.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns2.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -37,9 +37,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -7,9 +7,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns4.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns4.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns4.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns4.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -33,9 +33,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -7,9 +7,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns5.cat.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns5.cat.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns5.cat.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns5.cat.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -33,9 +33,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -7,9 +7,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/nameserver/ns1.dog.xn--q9jyb4c",
"value" : "https://example.tld/rdap/nameserver/ns1.dog.xn--q9jyb4c",
"rel" : "self",
"href" : "http://myserver.example.com/nameserver/ns1.dog.xn--q9jyb4c",
"href" : "https://example.tld/rdap/nameserver/ns1.dog.xn--q9jyb4c",
"type" : "application/rdap+json"
}
],
@ -33,9 +33,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -9,10 +9,10 @@
"links" :
[
{
"value" : "http://myserver.example.com/help/index",
"value" : "https://example.tld/rdap/help/index",
"rel" : "alternate",
"type" : "text/html",
"href" : "http://myserver.example.com/about/rdap/index.html"
"href" : "https://example.tld/rdap/about/rdap/index.html"
}
]
}

View file

@ -9,10 +9,10 @@
"links" :
[
{
"value" : "http://myserver.example.com/help/index",
"value" : "https://example.tld/rdap/help/index",
"rel" : "self",
"type" : "application/rdap+json",
"href" : "http://myserver.example.com/help/index",
"href" : "https://example.tld/rdap/help/index"
}
]
}

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/2-ROID",
"value" : "https://example.tld/rdap/entity/2-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/2-ROID",
"href" : "https://example.tld/rdap/entity/2-ROID",
"type" : "application/rdap+json"
}
],

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/2-ROID",
"value" : "https://example.tld/rdap/entity/2-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/2-ROID",
"href" : "https://example.tld/rdap/entity/2-ROID",
"type" : "application/rdap+json"
}
],
@ -25,12 +25,12 @@
],
"remarks": [
{
"title": "Data Policy",
"title": "Redacted for Privacy",
"description": [
"Some of the data in this object has been removed.",
"Contact personal data is visible only to the owning registrar."
],
"type": "object truncated due to authorization",
"type": "object redacted due to authorization",
"links" :
[
{

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/2-ROID",
"value" : "https://example.tld/rdap/entity/2-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/2-ROID",
"href" : "https://example.tld/rdap/entity/2-ROID",
"type" : "application/rdap+json"
}
],

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/2-ROID",
"value" : "https://example.tld/rdap/entity/2-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/2-ROID",
"href" : "https://example.tld/rdap/entity/2-ROID",
"type" : "application/rdap+json"
}
],
@ -33,12 +33,12 @@
"type": "object truncated due to unexplainable reasons"
},
{
"title": "Data Policy",
"title": "Redacted for Privacy",
"description": [
"Some of the data in this object has been removed.",
"Contact personal data is visible only to the owning registrar."
],
"type": "object truncated due to authorization",
"type": "object redacted due to authorization",
"links" :
[
{

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],
@ -68,7 +68,7 @@
["tel", {"type" : ["voice"]}, "uri", "tel:+1.2125551215"],
["email", {}, "text", "janedoe@example.com"]
]
],
]
},
{
"objectClassName" : "entity",
@ -83,7 +83,7 @@
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2125551213"],
["email", {}, "text", "johndoe@example.com"]
]
],
]
},
{
"objectClassName" : "entity",
@ -99,7 +99,7 @@
["tel", {"type" : ["fax"]}, "uri", "tel:+1.2125551218"],
["email", {}, "text", "playdoe@example.com"]
]
],
]
}
]
}

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/1",
"value" : "https://example.tld/rdap/entity/1",
"rel" : "self",
"href" : "http://myserver.example.com/entity/1",
"href" : "https://example.tld/rdap/entity/1",
"type" : "application/rdap+json"
}
],

View file

@ -5,9 +5,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/6-ROID",
"value" : "https://example.tld/rdap/entity/6-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/6-ROID",
"href" : "https://example.tld/rdap/entity/6-ROID",
"type" : "application/rdap+json"
}
],

View file

@ -6,9 +6,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/6-ROID",
"value" : "https://example.tld/rdap/entity/6-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/6-ROID",
"href" : "https://example.tld/rdap/entity/6-ROID",
"type" : "application/rdap+json"
}
],

View file

@ -24,7 +24,7 @@
"links" :
[
{
"value" : "http://myserver.example.com/help/tos",
"value" : "https://example.tld/rdap/help/tos",
"rel" : "alternate",
"href" : "https://www.registry.tld/about/rdap/tos.html",
"type" : "text/html"

View file

@ -24,7 +24,7 @@
"links" :
[
{
"value" : "http://myserver.example.com/help/tos",
"value" : "https://example.tld/rdap/help/tos",
"rel" : "alternate",
"href" : "https://www.registry.tld/about/rdap/tos.html",
"type" : "text/html"

View file

@ -5,9 +5,9 @@
"links" :
[
{
"value" : "http://myserver.example.com/entity/8-ROID",
"value" : "https://example.tld/rdap/entity/8-ROID",
"rel" : "self",
"href" : "http://myserver.example.com/entity/8-ROID",
"href" : "https://example.tld/rdap/entity/8-ROID",
"type" : "application/rdap+json"
}
],