gana

GNUnet Assigned Numbers Authority
Log | Files | Refs | README | LICENSE

commit e87822f88ce82d0d14df6673842b6523a2c371a1
parent 5ece8744b1d69845d31375c9959b069c91c6fb2f
Author: Sebastian <sebasjm@gmail.com>
Date:   Thu,  5 Dec 2024 13:55:04 -0300

makefile

Diffstat:
Agnu-taler-kyc-attributes/.gitignore | 7+++++++
Mgnu-taler-kyc-attributes/Makefile | 25+++++++++++++++++++++++--
Mgnu-taler-kyc-attributes/registry.rec | 21++++++++++++---------
Agnu-taler-kyc-attributes/rst.footer | 0
Agnu-taler-kyc-attributes/rst.header | 14++++++++++++++
Agnu-taler-kyc-attributes/rst.template | 4++++
Agnu-taler-kyc-attributes/ts.footer | 3+++
Agnu-taler-kyc-attributes/ts.header | 24++++++++++++++++++++++++
Agnu-taler-kyc-attributes/ts.template | 8++++++++
9 files changed, 95 insertions(+), 11 deletions(-)

diff --git a/gnu-taler-kyc-attributes/.gitignore b/gnu-taler-kyc-attributes/.gitignore @@ -0,0 +1,7 @@ +*.c +*.kt +*.h +*.tmp +*.ts +*.go +*.rs diff --git a/gnu-taler-kyc-attributes/Makefile b/gnu-taler-kyc-attributes/Makefile @@ -1,6 +1,27 @@ -all: check +FILES=taler_kyc_attributes.ts \ + taler_kyc_attributes.rst + +all: check $(FILES) check: registry.rec recfix --check registry.rec -.PHONY: all check +distclean: + rm -f *.tmp + +clean: + rm -f $(FILES) *.tmp + +taler_kyc_attributes.ts.tmp: registry.rec ts.template + ../format.sh ts.template < registry.rec > $@ + +taler_kyc_attributes.ts: ts.header taler_kyc_attributes.ts.tmp ts.footer + cat $^ > $@ + +taler_kyc_attributes.rst.tmp: registry.rec rst.template + ../format.sh rst.template < registry.rec > $@ + +taler_kyc_attributes.rst: rst.header taler_kyc_attributes.rst.tmp rst.footer + cat $^ > $@ + +.PHONY: check clean distclean diff --git a/gnu-taler-kyc-attributes/registry.rec b/gnu-taler-kyc-attributes/registry.rec @@ -37,7 +37,7 @@ Description: Identification number or string of national identity card. Format: text/plain Identifier: PERSON_DATE_OF_BIRTH -Description: Date of birth of an individual. Format is YYYY[-MM[-DD]]. +Description: Date of birth of an individual. Format is YYYY-MM-DD. Format: text/plain Identifier: PERSON_NATIONAL_ID_SCAN @@ -144,11 +144,11 @@ Description: Additional address information of the individual or business. Format: text/plain Identifier: ADDRESS_BUILDING_NAME -Description: +Description: Building name of the of the individual or business. Format: text/plain Identifier: ADDRESS_BUILDING_NUMBER -Description: +Description: Building number of the individual or business. Format: text/plain Identifier: ADDRESS_ZIPCODE @@ -156,21 +156,21 @@ Description: Postal code of the city where the individual or business resides. Format: text/plain Identifier: ADDRESS_TOWN_LOCATION -Description: +Description: Town location of the individual or business. Format: text/plain Identifier: ADDRESS_TOWN_DISTRICT -Description: +Description: Town district of the individual or business. Format: text/plain Identifier: ADDRESS_COUNTRY_SUBDIVISION -Description: +Description: Country subdivision of the individual or business. Format: text/plain ## Tax information Identifier: TAX_COUNTRY_CC -Description: +Description: Country name of of the individual or business. Format: text/plain # CHECK: wirtschaftsidentifikationsnummer oder steuernummer @@ -180,6 +180,10 @@ Format: text/plain Comment: Format may depend on the country of residence of the business. # CHECK wurde die gesellschaft in den USA oder nach US-Recht gergrudent +Identifier: TAX_IS_USA_LAW +Description: Is business founded or under USA law. +Format: text/plain +Comment: the value should be 'true' or 'false' # CHECK: wirtschaftlich aktiv oder passiv Identifier: TAX_IS_ACTIVE @@ -189,11 +193,10 @@ Comment: the value should be 'true' or 'false' # CHECK: sind sie vorsteuerabzugsberechtigt Identifier: TAX_IS_DEDUCTED -Description: +Description: Is the business entitled to deduct input tax. Format: text/plain Comment: the value should be 'true' or 'false' - ## Others Identifier: ACCEPTED_TERMS_OF_SERVICE diff --git a/gnu-taler-kyc-attributes/rst.footer b/gnu-taler-kyc-attributes/rst.footer diff --git a/gnu-taler-kyc-attributes/rst.header b/gnu-taler-kyc-attributes/rst.header @@ -0,0 +1,14 @@ +GNU Taler Error Codes +--------------------- + +Entries +^^^^^^^ + +.. list-table:: GNU Taler Error Codes + :widths: auto + :header-rows: 1 + + * - Name + - Value + - HTTP Status + - Description diff --git a/gnu-taler-kyc-attributes/rst.template b/gnu-taler-kyc-attributes/rst.template @@ -0,0 +1,4 @@ + * - {{Identifier}} + - {{Format}} + - {{Description}} + - {{Comment}} diff --git a/gnu-taler-kyc-attributes/ts.footer b/gnu-taler-kyc-attributes/ts.footer @@ -0,0 +1,3 @@ + + +} diff --git a/gnu-taler-kyc-attributes/ts.header b/gnu-taler-kyc-attributes/ts.header @@ -0,0 +1,24 @@ +/* + This file is part of GNU Taler + Copyright (C) 2012-2020 Taler Systems SA + + GNU Taler is free software: you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation, either version 3 of the License, + or (at your option) any later version. + + GNU Taler is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + + SPDX-License-Identifier: LGPL3.0-or-later + + Note: the LGPL does not apply to all components of GNU Taler, + but it does apply to this file. + */ + +export enum TalerKycAttributes { diff --git a/gnu-taler-kyc-attributes/ts.template b/gnu-taler-kyc-attributes/ts.template @@ -0,0 +1,8 @@ + + + /** + * {{Description}} + * Returned with an HTTP status code of #MHD_HTTP_{{HttpStatus_Identifier}} ({{HttpStatus_Value}}). + * (A value of 0 indicates that the error is generated client-side). + */ + {{Name}} = {{Value}},