I don't know if it'll be attaching this message to the thread, but
anyways I made two patches,
metadata.xsd patch, and metadata.dtd patch, the two in git format.
(attached)
diff --git a/metadata.dtd b/metadata.dtd
index e1207de..1d82071 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -58,7 +58,7 @@
<!ELEMENT bugs-to (#PCDATA)>
<!-- specify a type of package identification tracker -->
<!ELEMENT remote-id (#PCDATA)>
- <!ATTLIST remote-id type (bitbucket|cpan|cpan-module|cpe|cran|ctan|freedesktop-gitlab|gentoo|github|gitlab|gnome-gitlab|google-code|hackage|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|savannah|savannah-nongnu|sourceforge|sourcehut|vim) #REQUIRED>
+ <!ATTLIST remote-id type (bitbucket|codeberg|cpan|cpan-module|cpe|cran|ctan|freedesktop-gitlab|gentoo|github|gitlab|gnome-gitlab|google-code|hackage|heptapod|launchpad|osdn|pear|pecl|pypi|rubygems|savannah|savannah-nongnu|sourceforge|sourcehut|vim) #REQUIRED>
<!-- category/package information for cross-linking in descriptions
and useflag descriptions -->
diff --git a/metadata.xsd b/metadata.xsd
index 3812045..991790e 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -271,6 +271,7 @@
<xs:simpleType name='upstreamRemoteIdTypeAttrType'>
<xs:restriction base='xs:token'>
<xs:enumeration value='bitbucket'/>
+ <xs:enumeration value='codeberg'/>
<xs:enumeration value='cpan'/>
<xs:enumeration value='cpan-module'/>
<xs:enumeration value='cpe'/>