diff options
Diffstat (limited to 'rpkid/left-right-schema.rng')
-rw-r--r-- | rpkid/left-right-schema.rng | 48 |
1 files changed, 30 insertions, 18 deletions
diff --git a/rpkid/left-right-schema.rng b/rpkid/left-right-schema.rng index 9f7d21cf..8421435f 100644 --- a/rpkid/left-right-schema.rng +++ b/rpkid/left-right-schema.rng @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - $Id: left-right-schema.rnc 2995 2010-02-23 18:11:21Z sra $ + $Id: left-right-schema.rnc 3000 2010-02-23 21:32:14Z sra $ RelaxNG Schema for RPKI left-right protocol. @@ -61,6 +61,9 @@ <define name="query_elt" combine="choice"> <ref name="list_published_objects_query"/> </define> + <define name="query_elt" combine="choice"> + <ref name="list_received_resources_query"/> + </define> <!-- PDUs allowed in a reply --> <define name="reply_elt" combine="choice"> <ref name="self_reply"/> @@ -87,6 +90,9 @@ <ref name="list_published_objects_reply"/> </define> <define name="reply_elt" combine="choice"> + <ref name="list_received_resources_reply"/> + </define> + <define name="reply_elt" combine="choice"> <ref name="report_error_reply"/> </define> <!-- Tag attributes for bulk operations --> @@ -887,14 +893,15 @@ <element name="list_received_resources"> <ref name="tag"/> <ref name="self_handle"/> - <attribute name="asn"> - <data type="positiveInteger"/> - </attribute> - <attribute name="ipv4"> - <ref name="ipv4_list"/> + <attribute name="notBefore"> + <data type="dateTime"> + <param name="pattern">.*Z</param> + </data> </attribute> - <attribute name="ipv6"> - <ref name="ipv6_list"/> + <attribute name="notAfter"> + <data type="dateTime"> + <param name="pattern">.*Z</param> + </data> </attribute> <attribute name="uri"> <ref name="uri"/> @@ -905,16 +912,21 @@ <attribute name="aia_uri"> <ref name="uri"/> </attribute> - <attribute name="notBefore"> - <data type="dateTime"> - <param name="pattern">.*Z</param> - </data> - </attribute> - <attribute name="notAfter"> - <data type="dateTime"> - <param name="pattern">.*Z</param> - </data> - </attribute> + <optional> + <attribute name="asn"> + <ref name="asn_list"/> + </attribute> + </optional> + <optional> + <attribute name="ipv4"> + <ref name="ipv4_list"/> + </attribute> + </optional> + <optional> + <attribute name="ipv6"> + <ref name="ipv6_list"/> + </attribute> + </optional> </element> </define> <!-- <report_error/> element --> |