From 14c649a9f3f68f5d95cd0b9c53e011bfd6ed8485 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Tue, 9 Aug 2022 15:45:53 +0300 Subject: Add schemas for eIDAS extensions, elements and attributes Signed-off-by: Ivan Kanakarakis --- .../schemas/eidas-schema-attribute-legalperson.xsd | 86 +++++++++++++++++ .../eidas-schema-attribute-naturalperson.xsd | 88 ++++++++++++++++++ .../schemas/eidas-schema-metadata-servicelist.xsd | 103 +++++++++++++++++++++ .../data/schemas/eidas-schema-saml-extensions.xsd | 33 +++++++ 4 files changed, 310 insertions(+) create mode 100644 src/saml2/data/schemas/eidas-schema-attribute-legalperson.xsd create mode 100644 src/saml2/data/schemas/eidas-schema-attribute-naturalperson.xsd create mode 100644 src/saml2/data/schemas/eidas-schema-metadata-servicelist.xsd create mode 100644 src/saml2/data/schemas/eidas-schema-saml-extensions.xsd diff --git a/src/saml2/data/schemas/eidas-schema-attribute-legalperson.xsd b/src/saml2/data/schemas/eidas-schema-attribute-legalperson.xsd new file mode 100644 index 00000000..d4d75220 --- /dev/null +++ b/src/saml2/data/schemas/eidas-schema-attribute-legalperson.xsd @@ -0,0 +1,86 @@ + + + + + + + Unique identifier for the legal person as defined by the eIDAS Regulation. + + + + + + Current legal name for the legal person or organisation. + + + + + + + + + + + The address the legal person has registered with the MS authority or operating address if not registered. For a company this should be the registered address within the MS issuing the eID. + + + + + + + + + + + + + + + + The address the legal person has registered with the MS authority or operating address if not registered. For a company this should be the registered address within the MS issuing the eID as a base64 encoded string. + + + + + + VAT - VAT registration number + + + + + + TAX-Ref - tax reference number + + + + + + D-2012/17/EU - the identifier used under Directive 2012/17/EU + + + + + + LEI - Legal Entity Identifier + + + + + + EORI - Economic Operator Registration and Identification + + + + + + SEED - System for Exchange of Excise Data + + + + + + SIC - Standard Industrial Classification + + + + diff --git a/src/saml2/data/schemas/eidas-schema-attribute-naturalperson.xsd b/src/saml2/data/schemas/eidas-schema-attribute-naturalperson.xsd new file mode 100644 index 00000000..c8a2181d --- /dev/null +++ b/src/saml2/data/schemas/eidas-schema-attribute-naturalperson.xsd @@ -0,0 +1,88 @@ + + + + + + + Unique identifier for the natural person as defined by the eIDAS Regulation. + + + + + + Current family name of the natural person. + + + + + + + + + + Current given names of the natural person. + + + + + + + + + + Date of Birth for the Natural Person (Based on xsd:date i.e. YYYY-MM-DD format). + + + + + + + Current address of the natural person. + + + + + + + + + + + + + + + + Current address of the natural person as a base64 encoded string. + + + + + + Gender of the natural person. + + + + + + + + + + First name(s) and family name(s) of the natural person at birth. + + + + + + + + + + Place of birth for a natural person. + + + + + + diff --git a/src/saml2/data/schemas/eidas-schema-metadata-servicelist.xsd b/src/saml2/data/schemas/eidas-schema-metadata-servicelist.xsd new file mode 100644 index 00000000..376b01c4 --- /dev/null +++ b/src/saml2/data/schemas/eidas-schema-metadata-servicelist.xsd @@ -0,0 +1,103 @@ + + + + + Document identifier: eidas-metadata-servicelist-1.0 + + + + + The MetadataServiceListType is the root type for representing a metadata service list. It holds scheme information, metadata locations for each member state and optionally distribution point(s). + + + + + + + + + + The version of a metadata service list. + + + + + Issuance time for a metadata service list. + + + + + Time when the next metadata service list will be published. + + + + + The unique ID for a metadata service list. + + + + + + Scheme information about a published metadata service list, where the publisher and territory are included. + + + + + + + + + + Defines the metadata location(s) for a specific member state (territory). + + + + + + + + + + A list of distribution points. URLs from where the metadata service list can be downloaded. + + + + + + + + + + A list of eIDAS endpoints (nodes) for the current location. + + + + + Key material (usually a certificate) that should be used to verify the signature of the downloaded metadata for this metadata location. + + + + + + The URL from where the metadata for the endpoint(s) can be obtained. + + + + + + + Defines a member state "endpoint" (eIDAS node). + + + + The type of endpoint. Currently defined URI:s are: http://eidas.europa.eu/metadata/ept/ProxyService for an eIDAS Proxy Service, and, http://eidas.europa.eu/metadata/ept/Connector for an eIDAS Connector. + + + + + The SAML entityID of the endpoint. For an eIDAS connector this is the entityID for the SP-part of the node, and for an eIDAS Proxy Service this is the entityID for the IdP-part of the node. + + + + + diff --git a/src/saml2/data/schemas/eidas-schema-saml-extensions.xsd b/src/saml2/data/schemas/eidas-schema-saml-extensions.xsd new file mode 100644 index 00000000..2d5e6b09 --- /dev/null +++ b/src/saml2/data/schemas/eidas-schema-saml-extensions.xsd @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.1