Skip to main content

BIN y5w0n Documentation

  • Author:

  • Version: 17

  • Description: test for jsonschema [unique] un choice

  • Created: 2025-04-21

  • Modified: 2025-04-24

  • Source:

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

    Printers Embed Responsive

    <complexType name='RootJsonSchemaType'  description='test for jsonschema [unique] un choice' extra:path='#' extra:json.check-type='true' extra:root='true'>
        <choice name='fooChoice'>
            <field name='MyField1' type='xs:string'/>
            <field name='stringArray' type='string' typeUri='http://www.w3.org/2001/XMLSchema-datatypes' minOccurs='1' maxOccurs='n' node='element' extra:path='#/definitions/stringArray' extra:json.check-type='true' extra:json.check-array='true'/>
        </choice>
        <constraint name='IC1' category='key' selector='.//stringArray'>
            <expression path='.'/>
        </constraint>
    </complexType>