/* Options: Date: 2026-11-27 09:09:31 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v2 //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: GetClientGpg45.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using SimplifiedID.Api2.ServiceModel.Types; using SimplifiedID.Api2.ServiceModel.Operations.Base; using SimplifiedID.Api2.ServiceModel.Operations.Clients; namespace SimplifiedID.Api2.ServiceModel.Operations.Base { public partial class ArrayOfResponseError : List { } [DataContract] public partial class BaseRequest : IBaseRequest { /// ///The authentication credentials /// [DataMember] [ApiMember(Description="The authentication credentials", IsRequired=true, ParameterType="header, body")] public virtual Authentication Authentication { get; set; } } public partial class BaseResponse : IBaseDataResponse, IHasResponseStatus { /// ///The status of the response /// [ApiMember(Description="The status of the response")] public virtual ResponseStatus ResponseStatus { get; set; } } public partial interface IBaseDataResponse { ResponseStatus ResponseStatus { get; set; } } public partial interface IBaseRequest { Authentication Authentication { get; set; } } public partial interface IHasResponseStatus { ResponseStatus ResponseStatus { get; set; } } [DataContract] public partial class ResponseError { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string FieldName { get; set; } [DataMember(Order=3)] public virtual string Message { get; set; } [DataMember(Order=4)] public virtual Dictionary Meta { get; set; } } [DataContract] public partial class ResponseStatus { [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual ArrayOfResponseError Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } } namespace SimplifiedID.Api2.ServiceModel.Operations.Clients { [Route("/clients/{Id}/gpg45/", "GET")] [DataContract] public partial class GetClientGpg45 : BaseRequest, IReturn { [DataMember] [ApiMember(IsRequired=true, ParameterType="path")] public virtual int Id { get; set; } } public partial class GetClientGpg45Data : BaseResponse { /// ///Links related to this client's GPG 45 projection /// [ApiMember(Description="Links related to this client's GPG 45 projection")] public virtual Links Links { get; set; } /// ///The GPG 45 (DVS data schema v1.0) projection: 'claims' and, once Verified, 'verification' /// [ApiMember(Description="The GPG 45 (DVS data schema v1.0) projection: 'claims' and, once Verified, 'verification'")] public virtual Gpg45Projection Gpg45 { get; set; } } [DataContract] public partial class GetClientGpg45Response { [DataMember] public virtual GetClientGpg45Data Data { get; set; } } } namespace SimplifiedID.Api2.ServiceModel.Types { [DataContract] public partial class Authentication { /// ///The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User) /// [DataMember] [ApiMember(Description="The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User)", IsRequired=true, ParameterType="header, body")] public virtual string ApiUserId { get; set; } /// ///The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key) /// [DataMember] [ApiMember(Description="The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key)", IsRequired=true, ParameterType="header, body")] public virtual string ApiUserKey { get; set; } /// ///The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id). /// [DataMember] [ApiMember(Description="The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id).", ParameterType="header, body")] public virtual string UserId { get; set; } } public partial class gpg45_address { /// ///Street address lines, most specific first /// [ApiMember(Description="Street address lines, most specific first")] public virtual List street { get; set; } /// ///City / town / district /// [ApiMember(Description="City / town / district")] public virtual string locality { get; set; } /// ///Postcode /// [ApiMember(Description="Postcode")] public virtual string postal_code { get; set; } /// ///Country code (ISO 3166-1 alpha-3) /// [ApiMember(Description="Country code (ISO 3166-1 alpha-3)")] public virtual string country_code { get; set; } } public partial class gpg45_assurance_details { /// ///The type of check: validation, verification, counter_fraud or activity_history /// [ApiMember(Description="The type of check: validation, verification, counter_fraud or activity_history")] public virtual string assurance_type { get; set; } /// ///The GPG 45 score achieved for this check: score_1 to score_4 /// [ApiMember(Description="The GPG 45 score achieved for this check: score_1 to score_4")] public virtual string assurance_classification { get; set; } /// ///The checks that produced this assurance, matched by check_id /// [ApiMember(Description="The checks that produced this assurance, matched by check_id")] public virtual List evidence_ref { get; set; } } public partial class gpg45_assurance_process { /// ///Always 'gpg45' for the DVS trust framework /// [ApiMember(Description="Always 'gpg45' for the DVS trust framework")] public virtual string policy { get; set; } /// ///The GPG 45 identity profile code that was met (e.g. M1A, H1A). Null if no profile's requirements were fully met /// [ApiMember(Description="The GPG 45 identity profile code that was met (e.g. M1A, H1A). Null if no profile's requirements were fully met")] public virtual string procedure { get; set; } /// ///How each assurance process was satisfied /// [ApiMember(Description="How each assurance process was satisfied")] public virtual List assurance_details { get; set; } } public partial class gpg45_attachment { /// ///A description of the attachment /// [ApiMember(Description="A description of the attachment")] public virtual string desc { get; set; } /// ///The IANA media type of the data (e.g. image/jpeg) /// [ApiMember(Description="The IANA media type of the data (e.g. image/jpeg)")] public virtual string content_type { get; set; } /// ///The encoding format: base64 or byte_data /// [ApiMember(Description="The encoding format: base64 or byte_data")] public virtual string content_format { get; set; } /// ///The base64-encoded data /// [ApiMember(Description="The base64-encoded data")] public virtual string content { get; set; } } public partial class gpg45_authority { /// ///The name of the authority /// [ApiMember(Description="The name of the authority")] public virtual string name { get; set; } /// ///The country code where the authority is based (ISO 3166-1 alpha-2) /// [ApiMember(Description="The country code where the authority is based (ISO 3166-1 alpha-2)")] public virtual string country_code { get; set; } /// ///The authority's jurisdiction /// [ApiMember(Description="The authority's jurisdiction")] public virtual string jurisdiction { get; set; } } public partial class gpg45_biometric_information { /// ///The biometric modality: face, fingerprint, voice or iris /// [ApiMember(Description="The biometric modality: face, fingerprint, voice or iris")] public virtual string biometric_modality { get; set; } /// ///The captured biometric data /// [ApiMember(Description="The captured biometric data")] public virtual List attachments { get; set; } } public partial class gpg45_check_details { /// ///The GPG 45 check_method: auth, token, kbv, pvp, pvr, bvp, bvr, vpip, vpiruv, vri, vdig, vcrypt or data /// [ApiMember(Description="The GPG 45 check_method: auth, token, kbv, pvp, pvr, bvp, bvr, vpip, vpiruv, vri, vdig, vcrypt or data")] public virtual string check_method { get; set; } /// ///A unique reference for this check, matched by assurance_details evidence_ref entries /// [ApiMember(Description="A unique reference for this check, matched by assurance_details evidence_ref entries")] public virtual string check_id { get; set; } /// ///When the check was performed (ISO 8601 timestamp) /// [ApiMember(Description="When the check was performed (ISO 8601 timestamp)")] public virtual string time { get; set; } /// ///The organisation that performed the check /// [ApiMember(Description="The organisation that performed the check")] public virtual string organisation { get; set; } } public partial class gpg45_claims { /// ///The individual's given name(s) /// [ApiMember(Description="The individual's given name(s)")] public virtual string given_name { get; set; } /// ///The individual's family / surname /// [ApiMember(Description="The individual's family / surname")] public virtual string family_name { get; set; } /// ///The individual's date of birth (ISO 8601, yyyy-MM-dd) /// [ApiMember(Description="The individual's date of birth (ISO 8601, yyyy-MM-dd)")] public virtual string birthdate { get; set; } /// ///Countries of citizenship (ISO 3166-1 alpha-3) /// [ApiMember(Description="Countries of citizenship (ISO 3166-1 alpha-3)")] public virtual List nationalities { get; set; } /// ///The individual's address /// [ApiMember(Description="The individual's address")] public virtual gpg45_address address { get; set; } /// ///Biometric characteristics of the person making the claim /// [ApiMember(Description="Biometric characteristics of the person making the claim")] public virtual List biometric_information { get; set; } } public partial class gpg45_document { /// ///Always 'document' /// [ApiMember(Description="Always 'document'")] public virtual string type { get; set; } /// ///Details about the document itself /// [ApiMember(Description="Details about the document itself")] public virtual gpg45_document_details document_details { get; set; } /// ///Copies of the document /// [ApiMember(Description="Copies of the document")] public virtual List attachments { get; set; } /// ///The checks performed on the document /// [ApiMember(Description="The checks performed on the document")] public virtual List check_details { get; set; } } public partial class gpg45_document_details { /// ///The GPG 45 document_type enumeration value /// [ApiMember(Description="The GPG 45 document_type enumeration value")] public virtual string type { get; set; } /// ///The document's reference / identification number /// [ApiMember(Description="The document's reference / identification number")] public virtual string document_number { get; set; } /// ///The date the document was issued (ISO 8601) /// [ApiMember(Description="The date the document was issued (ISO 8601)")] public virtual string date_of_issuance { get; set; } /// ///The date the document expires (ISO 8601) /// [ApiMember(Description="The date the document expires (ISO 8601)")] public virtual string date_of_expiry { get; set; } /// ///The authority that issued the document /// [ApiMember(Description="The authority that issued the document")] public virtual gpg45_authority issuer { get; set; } } public partial class gpg45_dvs_registration { /// ///The service's DVS register reference /// [ApiMember(Description="The service's DVS register reference")] public virtual string registration_id { get; set; } /// ///The registered name of the certified service /// [ApiMember(Description="The registered name of the certified service")] public virtual string name { get; set; } /// ///Contact email for the certified service /// [ApiMember(Description="Contact email for the certified service")] public virtual string contact_email { get; set; } /// ///Website of the certified service /// [ApiMember(Description="Website of the certified service")] public virtual string website { get; set; } } public partial class gpg45_evidence { /// ///The document used to prove the claim /// [ApiMember(Description="The document used to prove the claim")] public virtual gpg45_document document { get; set; } } public partial class gpg45_evidence_metadata { /// ///The evidence classification, where applicable /// [ApiMember(Description="The evidence classification, where applicable")] public virtual string evidence_classification { get; set; } } public partial class gpg45_evidence_ref { /// ///The check_id of the check that produced this assurance /// [ApiMember(Description="The check_id of the check that produced this assurance")] public virtual string check_id { get; set; } /// ///Additional metadata about how the evidence supports the assurance /// [ApiMember(Description="Additional metadata about how the evidence supports the assurance")] public virtual gpg45_evidence_metadata evidence_ref { get; set; } } public partial class gpg45_verification { /// ///Always 'uk_dvstf' for the UK DVS trust framework /// [ApiMember(Description="Always 'uk_dvstf' for the UK DVS trust framework")] public virtual string trust_framework { get; set; } /// ///The certified service's entry in the DVS register /// [ApiMember(Description="The certified service's entry in the DVS register")] public virtual gpg45_dvs_registration dvs_registration { get; set; } /// ///The evidence used to prove the claim /// [ApiMember(Description="The evidence used to prove the claim")] public virtual List evidence { get; set; } /// ///The GPG 45 confidence level achieved: low, medium, high or very_high /// [ApiMember(Description="The GPG 45 confidence level achieved: low, medium, high or very_high")] public virtual string assurance_level { get; set; } /// ///The assurance policy and procedure followed /// [ApiMember(Description="The assurance policy and procedure followed")] public virtual gpg45_assurance_process assurance_process { get; set; } } public partial class Gpg45Projection { /// ///The claimed identity information (GPG 45 'claims') /// [ApiMember(Description="The claimed identity information (GPG 45 'claims')")] public virtual gpg45_claims claims { get; set; } /// ///How the claims were proven (GPG 45 'verification'). Null until the client is Verified /// [ApiMember(Description="How the claims were proven (GPG 45 'verification'). Null until the client is Verified")] public virtual gpg45_verification verification { get; set; } } public partial class Links { [ApiMember] public virtual string Self { get; set; } } }