Skip to main content

BIN ro05T Documentation

  • Author:

  • Version: 1

  • Description: CHATGPT generated form imported with FORM 2 SCHEMA to show him the functionality

  • Created: 2025-05-24

  • Modified: 2025-05-24

  • Source:

     Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <?xml version='1.0'?>
    <osk xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='http://www.eleusoft.org/osk/osknons.xsd'  xmlns:extra='http://eleusoft.org/schema/extra'>
          <datatypeLibrary prefix='xs' uri='http://www.w3.org/2001/XMLSchema-datatypes' />
       
          <schema name='com.eleusoft.form2schema.output'>
                <complexType name='Form' description='CHATGPT  generated form imported with FORM 2 SCHEMA to show him the functionality' extra:form.cont.httpmethod='POST'>
                      <field name='username' caption='Username:' type='xs:string'>
                            <facet name='maxLength' value='20'/>
                            <facet name='minLength' value='3'/>
                      </field>
                      <field name='email' caption='Email:' type='xs:string' extra:form.control='email'>
                      </field>
                      <field name='age' caption='Age:' type='xs:decimal' minOccurs='0' extra:form.maybenull='true' extra:html5.type='number' extra:ctrl.emptyisnull='true'>
                            <facet name='minInclusive' value='0'/>
                            <facet name='maxInclusive' value='150'/>
                      </field>
                      <field name='subscription' caption='Free' type='xs:string' default='free' extra:ic.enumlabel.free='Free' extra:form.control='options' extra:ic.enumlabels='true' extra:ic.enumlabel.premium='Premium'>
                            <facet name='enumeration' value='free'/>
                            <facet name='enumeration' value='premium'/>
                      </field>
                      <field name='bio' caption='Biography:' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:form.control='textarea' extra:ctrl.emptyisnull='true'>
                      </field>
                </complexType>
          </schema>
    </osk>