/usr/share/pgmodeler/schemas/xml/dtd/usertype.dtd is in pgmodeler-common 0.9.1~beta-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <!--
CAUTION: Do not modify this file directly on it's code unless you know what you are doing.
Unexpected results may occur if the code is changed deliberately.
-->
<!ELEMENT usertype (schema, role?, comment?, appended-sql?,prepended-sql?, type?, collation?, opclass?, (function+ | typeattrib+ | enumeration)*)>
<!ATTLIST usertype name CDATA #REQUIRED>
<!ATTLIST usertype configuration (enumeration|composite|base|range) "enumeration">
<!ATTLIST usertype internal-length CDATA #IMPLIED>
<!ATTLIST usertype by-value (true|false) "false">
<!ATTLIST usertype alignment CDATA #IMPLIED>
<!ATTLIST usertype storage CDATA #IMPLIED>
<!ATTLIST usertype element CDATA #IMPLIED>
<!ATTLIST usertype delimiter CDATA #IMPLIED>
<!ATTLIST usertype default-value CDATA #IMPLIED>
<!ATTLIST usertype category CDATA #IMPLIED>
<!ATTLIST usertype preferred CDATA "false">
<!ATTLIST usertype collatable CDATA "false">
<!ATTLIST usertype protected (false|true) "false">
<!ATTLIST usertype sql-disabled (false|true) "false">
<!ELEMENT enumeration EMPTY>
<!ATTLIST enumeration values CDATA #REQUIRED>
<!ELEMENT typeattrib (type, collation?)>
<!ATTLIST typeattrib name CDATA #REQUIRED>
|