> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Smart contracts XML structure reference

> Look up exact smart contracts elements, content models, required attributes, and schema types

Use this reference to check XML spelling, ordering, occurrence counts, and attribute types. It is generated from the exact XSD selected in the [schema catalog](/resources/schemas).

Namespace: `urn:nf:iot:leg:sc:1.0`.

[Download the original XSD](https://raw.githubusercontent.com/PeterWaher/IoTGateway/43705bab39e89da8f2e5e4d72c55cba6f2a43bbd/Networking/Waher.Networking.XMPP.Contracts/Schema/SmartContracts.xsd). SHA-256: `e98ab8dab423abad4b5cda0d2e506d9466b8afd1882bded40fb68754d6143196`.

## Read the structural notation

* `sequence(A, B)` requires the listed order; `choice(A, B)` selects an allowed alternative.
* `[0..1]` means optional; `[1..1]` means exactly one; `unbounded` removes the upper count.
* `group(Name)`, element types, and `extension(Base)` refer to declarations elsewhere in this reference or an imported schema. Inherited fields are not repeated.
* Names separated by `/` identify a declaration's containing element or type. They are lookup labels, not XML element names.
* Structural validity does not establish provider support, execution permissions, or successful Script evaluation. The original XSD and [validator](/resources/validate-xml) determine XML validity.

For complete construction steps, use [contract authoring](/contracts/from-scratch) or [the token and machine example](/build/tokenized-assets/from-scratch).

<AccordionGroup>
  <Accordion title="createContract (element)">
    ```text theme={null}
    sequence(choice(contract[1..1], template[1..1])[1..1], transient[0..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="createContract/template (element)">
    ```text theme={null}
    sequence(parts[0..1], parameters[0..1])[1..1] 
    ```

    | Attribute | Type              | Use      | Default or fixed value |
    | --------- | ----------------- | -------- | ---------------------- |
    | `id`      | `xs:string`       | required | —                      |
    | `nonce`   | `xs:base64Binary` | optional | —                      |
  </Accordion>

  <Accordion title="contract (element)">
    ```text theme={null}
    sequence(any(namespace=##any, processContents=lax)[1..1], role[0..unbounded], parts[0..1], parameters[0..1], humanReadableText:HumanReadableText[1..unbounded], signature[0..unbounded], attachment[0..unbounded], status[0..1], serverSignature[0..1], attachmentRef[0..unbounded])[1..1] 
    ```

    | Attribute | Type              | Use      | Default or fixed value |
    | --------- | ----------------- | -------- | ---------------------- |
    | `id`      | `xs:string`       | optional | —                      |
    | `nonce`   | `xs:base64Binary` | optional | —                      |
  </Accordion>

  <Accordion title="contract/role (element)">
    ```text theme={null}
    sequence(description:HumanReadableText[1..unbounded])[1..1]
    ```

    | Attribute   | Type                    | Use      | Default or fixed value |
    | ----------- | ----------------------- | -------- | ---------------------- |
    | `name`      | `NonEmptyString`        | required | —                      |
    | `minCount`  | `xs:nonNegativeInteger` | required | —                      |
    | `maxCount`  | `xs:nonNegativeInteger` | required | —                      |
    | `canRevoke` | `xs:boolean`            | optional | false                  |
  </Accordion>

  <Accordion title="contract/role/description (element)">
    Type: `HumanReadableText`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="contract/humanReadableText (element)">
    Type: `HumanReadableText`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="contract/signature (element)">
    ```text theme={null}
    extension(xs:base64Binary) 
    ```

    | Attribute   | Type             | Use      | Default or fixed value |
    | ----------- | ---------------- | -------- | ---------------------- |
    | `legalId`   | `NonEmptyString` | required | —                      |
    | `bareJid`   | `NonEmptyString` | required | —                      |
    | `role`      | `NonEmptyString` | required | —                      |
    | `timestamp` | `xs:dateTime`    | required | —                      |
  </Accordion>

  <Accordion title="contract/status (element)">
    ```text theme={null}
    sequence(roleParameters[0..1])[1..1]
    ```

    | Attribute            | Type              | Use      | Default or fixed value |
    | -------------------- | ----------------- | -------- | ---------------------- |
    | `provider`           | `NonEmptyString`  | required | —                      |
    | `state`              | `ContractState`   | required | —                      |
    | `created`            | `xs:dateTime`     | required | —                      |
    | `updated`            | `xs:dateTime`     | optional | —                      |
    | `from`               | `xs:dateTime`     | optional | —                      |
    | `to`                 | `xs:dateTime`     | optional | —                      |
    | `templateId`         | `NonEmptyString`  | optional | —                      |
    | `schemaDigest`       | `xs:base64Binary` | optional | —                      |
    | `schemaHashFunction` | `HashFunction`    | optional | —                      |
  </Accordion>

  <Accordion title="contract/status/roleParameters (element)">
    ```text theme={null}
    sequence(parameter[0..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="contract/status/roleParameters/parameter (element)">
    ```text theme={null}
    extension(xs:base64Binary) 
    ```

    | Attribute     | Type              | Use      | Default or fixed value |
    | ------------- | ----------------- | -------- | ---------------------- |
    | `name`        | `xs:string`       | required | —                      |
    | `value`       | `xs:string`       | required | —                      |
    | `contentType` | `xs:string`       | optional | —                      |
    | `legalId`     | `xs:string`       | optional | —                      |
    | `fileName`    | `xs:string`       | optional | —                      |
    | `signature`   | `xs:base64Binary` | optional | —                      |
    | `timestamp`   | `xs:dateTime`     | optional | —                      |
    | `url`         | `xs:anyURI`       | optional | —                      |
  </Accordion>

  <Accordion title="contract/serverSignature (element)">
    ```text theme={null}
    extension(xs:base64Binary) 
    ```

    | Attribute   | Type          | Use      | Default or fixed value |
    | ----------- | ------------- | -------- | ---------------------- |
    | `timestamp` | `xs:dateTime` | required | —                      |
  </Accordion>

  <Accordion title="parameters (element)">
    Type: `Parameters`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="transient (element)">
    Type: `Parameters`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters (complexType)">
    ```text theme={null}
    choice(stringParameter:StringParameter[1..1], numericalParameter:NumericalParameter[1..1], booleanParameter:BooleanParameter[1..1], dateParameter:DateParameter[1..1], timeParameter:TimeParameter[1..1], dateTimeParameter:DateTimeParameter[1..1], durationParameter:DurationParameter[1..1], geoParameter:GeoParameter[1..1], calcParameter:CalcParameter[1..1], roleParameter:RoleParameter[1..1], contractReferenceParameter:ContractReferenceParameter[1..1], attachmentParameter:AttachmentParameter[1..1], recordSet:RecordSet[1..1])[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/stringParameter (element)">
    Type: `StringParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/numericalParameter (element)">
    Type: `NumericalParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/booleanParameter (element)">
    Type: `BooleanParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/dateParameter (element)">
    Type: `DateParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/timeParameter (element)">
    Type: `TimeParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/dateTimeParameter (element)">
    Type: `DateTimeParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/durationParameter (element)">
    Type: `DurationParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/geoParameter (element)">
    Type: `GeoParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/calcParameter (element)">
    Type: `CalcParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/roleParameter (element)">
    Type: `RoleParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/contractReferenceParameter (element)">
    Type: `ContractReferenceParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/attachmentParameter (element)">
    Type: `AttachmentParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameters/recordSet (element)">
    Type: `RecordSet`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="RecordSet (complexType)">
    ```text theme={null}
    sequence(description:HumanReadableText[0..unbounded], recordDefinition:Parameters[1..1], record:Parameters[0..unbounded])[1..1]
    ```

    | Attribute    | Type                    | Use      | Default or fixed value |
    | ------------ | ----------------------- | -------- | ---------------------- |
    | `name`       | `NonEmptyString`        | required | —                      |
    | `exp`        | `xs:string`             | optional | —                      |
    | `maxRecords` | `xs:positiveInteger`    | required | —                      |
    | `minRecords` | `xs:nonNegativeInteger` | required | —                      |
  </Accordion>

  <Accordion title="RecordSet/description (element)">
    Type: `HumanReadableText`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="RecordSet/recordDefinition (element)">
    Type: `Parameters`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="RecordSet/record (element)">
    Type: `Parameters`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Parameter (complexType)">
    ```text theme={null}
    sequence(description:HumanReadableText[0..unbounded])[1..1]
    ```

    | Attribute    | Type              | Use      | Default or fixed value |
    | ------------ | ----------------- | -------- | ---------------------- |
    | `name`       | `NonEmptyString`  | required | —                      |
    | `guide`      | `xs:string`       | optional | —                      |
    | `exp`        | `xs:string`       | optional | —                      |
    | `protection` | `ProtectionLevel` | optional | —                      |
    | `protected`  | `xs:base64Binary` | optional | —                      |
  </Accordion>

  <Accordion title="Parameter/description (element)">
    Type: `HumanReadableText`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="ProtectionLevel (simpleType)">
    ```text theme={null}
    restriction(xs:string) value=Encrypted value=Transient
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="StringParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type                    | Use      | Default or fixed value |
    | ------------- | ----------------------- | -------- | ---------------------- |
    | `value`       | `xs:string`             | optional | —                      |
    | `regEx`       | `xs:string`             | optional | —                      |
    | `min`         | `xs:string`             | optional | —                      |
    | `minIncluded` | `xs:boolean`            | optional | true                   |
    | `max`         | `xs:string`             | optional | —                      |
    | `maxIncluded` | `xs:boolean`            | optional | true                   |
    | `minLength`   | `xs:nonNegativeInteger` | optional | —                      |
    | `maxLength`   | `xs:positiveInteger`    | optional | —                      |
  </Accordion>

  <Accordion title="NumericalParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type         | Use      | Default or fixed value |
    | ------------- | ------------ | -------- | ---------------------- |
    | `value`       | `xs:decimal` | optional | —                      |
    | `min`         | `xs:decimal` | optional | —                      |
    | `minIncluded` | `xs:boolean` | optional | true                   |
    | `max`         | `xs:decimal` | optional | —                      |
    | `maxIncluded` | `xs:boolean` | optional | true                   |
  </Accordion>

  <Accordion title="BooleanParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute | Type         | Use      | Default or fixed value |
    | --------- | ------------ | -------- | ---------------------- |
    | `value`   | `xs:boolean` | optional | —                      |
  </Accordion>

  <Accordion title="DateParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type         | Use      | Default or fixed value |
    | ------------- | ------------ | -------- | ---------------------- |
    | `value`       | `xs:date`    | optional | —                      |
    | `min`         | `xs:date`    | optional | —                      |
    | `minIncluded` | `xs:boolean` | optional | true                   |
    | `max`         | `xs:date`    | optional | —                      |
    | `maxIncluded` | `xs:boolean` | optional | true                   |
  </Accordion>

  <Accordion title="DateTimeParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type          | Use      | Default or fixed value |
    | ------------- | ------------- | -------- | ---------------------- |
    | `value`       | `xs:dateTime` | optional | —                      |
    | `min`         | `xs:dateTime` | optional | —                      |
    | `minIncluded` | `xs:boolean`  | optional | true                   |
    | `max`         | `xs:dateTime` | optional | —                      |
    | `maxIncluded` | `xs:boolean`  | optional | true                   |
  </Accordion>

  <Accordion title="TimeParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type         | Use      | Default or fixed value |
    | ------------- | ------------ | -------- | ---------------------- |
    | `value`       | `xs:time`    | optional | —                      |
    | `min`         | `xs:time`    | optional | —                      |
    | `minIncluded` | `xs:boolean` | optional | true                   |
    | `max`         | `xs:time`    | optional | —                      |
    | `maxIncluded` | `xs:boolean` | optional | true                   |
  </Accordion>

  <Accordion title="DurationParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type          | Use      | Default or fixed value |
    | ------------- | ------------- | -------- | ---------------------- |
    | `value`       | `xs:duration` | optional | —                      |
    | `min`         | `xs:duration` | optional | —                      |
    | `minIncluded` | `xs:boolean`  | optional | true                   |
    | `max`         | `xs:duration` | optional | —                      |
    | `maxIncluded` | `xs:boolean`  | optional | true                   |
  </Accordion>

  <Accordion title="GeoParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute          | Type          | Use      | Default or fixed value |
    | ------------------ | ------------- | -------- | ---------------------- |
    | `value`            | `GeoSpatial`  | optional | —                      |
    | `contractLocation` | `xs:boolean`  | optional | false                  |
    | `min`              | `GeoSpatial`  | optional | —                      |
    | `minIncluded`      | `xs:boolean`  | optional | true                   |
    | `max`              | `GeoSpatial`  | optional | —                      |
    | `maxIncluded`      | `xs:boolean`  | optional | true                   |
    | `altitude`         | `inline type` | optional | optional               |
  </Accordion>

  <Accordion title="GeoSpatial (simpleType)">
    ```text theme={null}
    restriction(xs:string) pattern=(?'Lat'-?\d+(\.\d+)?),(?'Long'-?\d+(\.\d+)?)(,(?'Alt'-?\d+(\.\d+)?))?
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="CalcParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="RoleParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type                 | Use      | Default or fixed value |
    | ------------- | -------------------- | -------- | ---------------------- |
    | `role`        | `xs:string`          | required | —                      |
    | `index`       | `xs:positiveInteger` | required | —                      |
    | `property`    | `xs:string`          | required | —                      |
    | `required`    | `xs:boolean`         | optional | false                  |
    | `contentType` | `xs:string`          | optional | —                      |
  </Accordion>

  <Accordion title="ContractReferenceParameter (complexType)">
    ```text theme={null}
    extension(Parameter) sequence(label[0..unbounded])[1..1]
    ```

    | Attribute     | Type         | Use      | Default or fixed value |
    | ------------- | ------------ | -------- | ---------------------- |
    | `value`       | `xs:string`  | optional | —                      |
    | `required`    | `xs:boolean` | optional | false                  |
    | `localName`   | `xs:string`  | optional | —                      |
    | `namespace`   | `xs:string`  | optional | —                      |
    | `templateId`  | `xs:string`  | optional | —                      |
    | `provider`    | `xs:string`  | optional | —                      |
    | `creatorRole` | `xs:string`  | optional | —                      |
  </Accordion>

  <Accordion title="ContractReferenceParameter/label (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    | Attribute  | Type          | Use      | Default or fixed value |
    | ---------- | ------------- | -------- | ---------------------- |
    | `xml:lang` | `inline type` | optional | —                      |
  </Accordion>

  <Accordion title="AttachmentParameter (complexType)">
    ```text theme={null}
    extension(Parameter) 
    ```

    | Attribute     | Type                 | Use      | Default or fixed value |
    | ------------- | -------------------- | -------- | ---------------------- |
    | `value`       | `xs:string`          | optional | —                      |
    | `required`    | `xs:boolean`         | optional | false                  |
    | `contentType` | `xs:string`          | optional | —                      |
    | `minSize`     | `xs:positiveInteger` | optional | —                      |
    | `maxSize`     | `xs:positiveInteger` | optional | —                      |
    | `minWidth`    | `xs:positiveInteger` | optional | —                      |
    | `maxWidth`    | `xs:positiveInteger` | optional | —                      |
    | `minHeight`   | `xs:positiveInteger` | optional | —                      |
    | `maxHeight`   | `xs:positiveInteger` | optional | —                      |
  </Accordion>

  <Accordion title="parts (element)">
    ```text theme={null}
    choice(open[1..1], templateOnly[1..1], part[1..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="parts/open (element)">
    ```text theme={null}
    complexType()
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="parts/templateOnly (element)">
    ```text theme={null}
    complexType()
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="parts/part (element)">
    | Attribute | Type             | Use      | Default or fixed value |
    | --------- | ---------------- | -------- | ---------------------- |
    | `legalId` | `NonEmptyString` | required | —                      |
    | `role`    | `NonEmptyString` | required | —                      |
  </Accordion>

  <Accordion title="ContractState (simpleType)">
    ```text theme={null}
    restriction(xs:string) value=Proposed value=Rejected value=Approved value=BeingSigned value=Signed value=Failed value=Obsoleted
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="HashFunction (simpleType)">
    ```text theme={null}
    restriction(xs:string) value=SHA256 value=SHA384 value=SHA512
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="ContractVisibility (simpleType)">
    ```text theme={null}
    restriction(xs:string) value=CreatorAndParts value=DomainAndParts value=Public value=PublicSearchable
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="HumanReadableText (complexType)">
    ```text theme={null}
    group(BlockElements)[1..unbounded]
    ```

    | Attribute  | Type          | Use      | Default or fixed value |
    | ---------- | ------------- | -------- | ---------------------- |
    | `xml:lang` | `inline type` | optional | —                      |
  </Accordion>

  <Accordion title="BlockElements (group)">
    ```text theme={null}
    choice(paragraph[1..1], section[1..1], bulletItems[1..1], numberedItems[1..1], imageStandalone:ImageType[1..1], separator:Empty[1..1], table[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/paragraph (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/section (element)">
    ```text theme={null}
    sequence(header[1..1], body[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/section/header (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/section/body (element)">
    ```text theme={null}
    group(BlockElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/bulletItems (element)">
    ```text theme={null}
    sequence(item[1..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/bulletItems/item (element)">
    ```text theme={null}
    choice(group(InlineElements)[1..unbounded], group(BlockElements)[1..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/numberedItems (element)">
    ```text theme={null}
    sequence(item[1..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/numberedItems/item (element)">
    ```text theme={null}
    choice(group(InlineElements)[1..unbounded], group(BlockElements)[1..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/imageStandalone (element)">
    Type: `ImageType`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/separator (element)">
    Type: `Empty`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/table (element)">
    ```text theme={null}
    sequence(row[1..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/table/row (element)">
    ```text theme={null}
    sequence(cell[1..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="BlockElements/table/row/cell (element)">
    ```text theme={null}
    choice(group(InlineElements)[0..unbounded], group(BlockElements)[0..unbounded])[1..1]
    ```

    | Attribute   | Type                 | Use      | Default or fixed value |
    | ----------- | -------------------- | -------- | ---------------------- |
    | `alignment` | `inline type`        | required | —                      |
    | `colSpan`   | `xs:positiveInteger` | required | —                      |
    | `header`    | `xs:boolean`         | required | —                      |
  </Accordion>

  <Accordion title="InlineElements (group)">
    ```text theme={null}
    choice(text:NonEmptyString[1..1], parameter[1..1], bold[1..1], italic[1..1], underline[1..1], strikeThrough[1..1], super[1..1], sub[1..1], lineBreak:Empty[1..1], imageInline:ImageType[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/text (element)">
    Type: `NonEmptyString`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/parameter (element)">
    | Attribute | Type             | Use      | Default or fixed value |
    | --------- | ---------------- | -------- | ---------------------- |
    | `name`    | `NonEmptyString` | required | —                      |
  </Accordion>

  <Accordion title="InlineElements/bold (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/italic (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/underline (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/strikeThrough (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/super (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/sub (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/lineBreak (element)">
    Type: `Empty`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="InlineElements/imageInline (element)">
    Type: `ImageType`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Empty (complexType)">
    ```text theme={null}
    complexType(name=Empty)
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="NonEmptyString (simpleType)">
    ```text theme={null}
    restriction(xs:string) minLength=1
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="ImageType (complexType)">
    ```text theme={null}
    sequence(binary:xs:base64Binary[1..1], caption[1..1])[1..1]
    ```

    | Attribute     | Type          | Use      | Default or fixed value |
    | ------------- | ------------- | -------- | ---------------------- |
    | `contentType` | `inline type` | required | —                      |
    | `width`       | `ImageSize`   | required | —                      |
    | `height`      | `ImageSize`   | required | —                      |
  </Accordion>

  <Accordion title="ImageType/binary (element)">
    Type: `xs:base64Binary`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="ImageType/caption (element)">
    ```text theme={null}
    group(InlineElements)[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="ImageSize (simpleType)">
    ```text theme={null}
    restriction(xs:positiveInteger) maxInclusive=2048
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="getCreatedContracts (element)">
    | Attribute    | Type                    | Use      | Default or fixed value |
    | ------------ | ----------------------- | -------- | ---------------------- |
    | `offset`     | `xs:nonNegativeInteger` | optional | —                      |
    | `maxCount`   | `xs:positiveInteger`    | optional | —                      |
    | `references` | `xs:boolean`            | optional | true                   |
  </Accordion>

  <Accordion title="signContract (element)">
    | Attribute      | Type              | Use      | Default or fixed value |
    | -------------- | ----------------- | -------- | ---------------------- |
    | `id`           | `xs:string`       | required | —                      |
    | `role`         | `NonEmptyString`  | required | —                      |
    | `transferable` | `xs:boolean`      | optional | false                  |
    | `s`            | `xs:base64Binary` | required | —                      |
  </Accordion>

  <Accordion title="contractSigned (element)">
    ```text theme={null}
    sequence(contract[1..1])[1..1]
    ```

    | Attribute    | Type         | Use      | Default or fixed value |
    | ------------ | ------------ | -------- | ---------------------- |
    | `contractId` | `xs:string`  | required | —                      |
    | `legalId`    | `xs:string`  | required | —                      |
    | `role`       | `xs:string`  | required | —                      |
    | `signed`     | `xs:boolean` | optional | false                  |
  </Accordion>

  <Accordion title="authorizeJid (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `jid`     | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="getSignedContracts (element)">
    | Attribute    | Type                    | Use      | Default or fixed value |
    | ------------ | ----------------------- | -------- | ---------------------- |
    | `offset`     | `xs:nonNegativeInteger` | optional | —                      |
    | `maxCount`   | `xs:positiveInteger`    | optional | —                      |
    | `references` | `xs:boolean`            | optional | true                   |
  </Accordion>

  <Accordion title="contractReferences (element)">
    ```text theme={null}
    sequence(ref[0..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="contractReferences/ref (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="contracts (element)">
    ```text theme={null}
    choice(contract[1..1], ref[1..1])[0..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="contracts/ref (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="getContract (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="getContracts (element)">
    ```text theme={null}
    sequence(ref[0..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="getContracts/ref (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="isPart (element)">
    ```text theme={null}
    sequence(idRef[1..unbounded])[1..1]
    ```

    | Attribute | Type             | Use      | Default or fixed value |
    | --------- | ---------------- | -------- | ---------------------- |
    | `bareJid` | `NonEmptyString` | required | —                      |
  </Accordion>

  <Accordion title="isPart/idRef (element)">
    | Attribute | Type             | Use      | Default or fixed value |
    | --------- | ---------------- | -------- | ---------------------- |
    | `id`      | `NonEmptyString` | required | —                      |
  </Accordion>

  <Accordion title="part (element)">
    Type: `xs:boolean`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="obsoleteContract (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="deleteContract (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="contractCreated (element)">
    | Attribute    | Type        | Use      | Default or fixed value |
    | ------------ | ----------- | -------- | ---------------------- |
    | `contractId` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="contractUpdated (element)">
    | Attribute    | Type        | Use      | Default or fixed value |
    | ------------ | ----------- | -------- | ---------------------- |
    | `contractId` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="contractDeleted (element)">
    | Attribute    | Type        | Use      | Default or fixed value |
    | ------------ | ----------- | -------- | ---------------------- |
    | `contractId` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="updateContract (element)">
    ```text theme={null}
    sequence(contract[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="getSchemas (element)">
    ```text theme={null}
    complexType()
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="schemas (element)">
    ```text theme={null}
    sequence(schemaRef[0..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="schemaRef (element)">
    ```text theme={null}
    sequence(digest[1..unbounded])[1..1]
    ```

    | Attribute   | Type        | Use      | Default or fixed value |
    | ----------- | ----------- | -------- | ---------------------- |
    | `namespace` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="digest (element)">
    ```text theme={null}
    extension(xs:base64Binary) 
    ```

    | Attribute  | Type           | Use      | Default or fixed value |
    | ---------- | -------------- | -------- | ---------------------- |
    | `function` | `HashFunction` | required | —                      |
  </Accordion>

  <Accordion title="getSchema (element)">
    ```text theme={null}
    sequence(digest[0..1])[1..1]
    ```

    | Attribute   | Type        | Use      | Default or fixed value |
    | ----------- | ----------- | -------- | ---------------------- |
    | `namespace` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="schema (element)">
    Type: `xs:base64Binary`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="getLegalIdentities (element)">
    | Attribute    | Type         | Use      | Default or fixed value |
    | ------------ | ------------ | -------- | ---------------------- |
    | `contractId` | `xs:string`  | required | —                      |
    | `current`    | `xs:boolean` | optional | false                  |
    | `historic`   | `xs:boolean` | optional | true                   |
  </Accordion>

  <Accordion title="getNetworkIdentities (element)">
    | Attribute    | Type        | Use      | Default or fixed value |
    | ------------ | ----------- | -------- | ---------------------- |
    | `contractId` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="networkIdentities (element)">
    ```text theme={null}
    sequence(networkIdentity[1..1])[0..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="networkIdentities/networkIdentity (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `bareJid` | `xs:string` | required | —                      |
    | `legalId` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="searchPublicContracts (element)">
    ```text theme={null}
    sequence(localName[0..1], namespace[0..1], template[0..1], role[0..unbounded], parameter[0..unbounded], created:DateTimeSearchParameter[0..1], updated:DateTimeSearchParameter[0..1], from:DateTimeSearchParameter[0..1], to:DateTimeSearchParameter[0..1], duration:DurationSearchParameter[0..1])[1..1]
    ```

    | Attribute  | Type                    | Use      | Default or fixed value |
    | ---------- | ----------------------- | -------- | ---------------------- |
    | `offset`   | `xs:nonNegativeInteger` | optional | —                      |
    | `maxCount` | `xs:positiveInteger`    | optional | —                      |
  </Accordion>

  <Accordion title="searchPublicContracts/localName (element)">
    ```text theme={null}
    choice(eq:xs:string[1..1], like:xs:string[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/localName/eq (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/localName/like (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/namespace (element)">
    ```text theme={null}
    choice(eq:xs:string[1..1], like:xs:string[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/namespace/eq (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/namespace/like (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/template (element)">
    ```text theme={null}
    choice(eq:xs:string[1..1], like:xs:string[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/template/eq (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/template/like (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/role (element)">
    ```text theme={null}
    choice(eq:xs:string[1..1], like:xs:string[1..1])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/role/eq (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/role/like (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter (element)">
    ```text theme={null}
    choice(eqStr:xs:string[1..1], neqStr:xs:string[1..1], gtStr:xs:string[1..1], gteStr:xs:string[1..1], ltStr:xs:string[1..1], lteStr:xs:string[1..1], like:xs:string[1..1], eqNum:xs:decimal[1..1], neqNum:xs:decimal[1..1], gtNum:xs:decimal[1..1], gteNum:xs:decimal[1..1], ltNum:xs:decimal[1..1], lteNum:xs:decimal[1..1], eqB:xs:boolean[1..1], neqB:xs:boolean[1..1], eqD:xs:date[1..1], neqD:xs:date[1..1], gtD:xs:date[1..1], gteD:xs:date[1..1], ltD:xs:date[1..1], lteD:xs:date[1..1], eqDT:xs:dateTime[1..1], neqDT:xs:dateTime[1..1], gtDT:xs:dateTime[1..1], gteDT:xs:dateTime[1..1], ltDT:xs:dateTime[1..1], lteDT:xs:dateTime[1..1], eqT:xs:time[1..1], neqT:xs:time[1..1], gtT:xs:time[1..1], gteT:xs:time[1..1], ltT:xs:time[1..1], lteT:xs:time[1..1], eqDr:xs:duration[1..1], neqDr:xs:duration[1..1], gtDr:xs:duration[1..1], gteDr:xs:duration[1..1], ltDr:xs:duration[1..1], lteDr:xs:duration[1..1])[1..unbounded]
    ```

    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `name`    | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/eqStr (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/neqStr (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gtStr (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gteStr (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/ltStr (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/lteStr (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/like (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/eqNum (element)">
    Type: `xs:decimal`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/neqNum (element)">
    Type: `xs:decimal`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gtNum (element)">
    Type: `xs:decimal`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gteNum (element)">
    Type: `xs:decimal`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/ltNum (element)">
    Type: `xs:decimal`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/lteNum (element)">
    Type: `xs:decimal`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/eqB (element)">
    Type: `xs:boolean`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/neqB (element)">
    Type: `xs:boolean`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/eqD (element)">
    Type: `xs:date`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/neqD (element)">
    Type: `xs:date`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gtD (element)">
    Type: `xs:date`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gteD (element)">
    Type: `xs:date`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/ltD (element)">
    Type: `xs:date`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/lteD (element)">
    Type: `xs:date`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/eqDT (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/neqDT (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gtDT (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gteDT (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/ltDT (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/lteDT (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/eqT (element)">
    Type: `xs:time`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/neqT (element)">
    Type: `xs:time`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gtT (element)">
    Type: `xs:time`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gteT (element)">
    Type: `xs:time`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/ltT (element)">
    Type: `xs:time`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/lteT (element)">
    Type: `xs:time`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/eqDr (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/neqDr (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gtDr (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/gteDr (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/ltDr (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/parameter/lteDr (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/created (element)">
    Type: `DateTimeSearchParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/updated (element)">
    Type: `DateTimeSearchParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/from (element)">
    Type: `DateTimeSearchParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/to (element)">
    Type: `DateTimeSearchParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchPublicContracts/duration (element)">
    Type: `DurationSearchParameter`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="searchResult (element)">
    ```text theme={null}
    sequence(ref[0..unbounded])[1..1]
    ```

    | Attribute | Type         | Use      | Default or fixed value |
    | --------- | ------------ | -------- | ---------------------- |
    | `more`    | `xs:boolean` | optional | false                  |
  </Accordion>

  <Accordion title="searchResult/ref (element)">
    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="DateTimeSearchParameter (complexType)">
    ```text theme={null}
    choice(eq:xs:dateTime[1..1], neq:xs:dateTime[1..1], gt:xs:dateTime[1..1], gte:xs:dateTime[1..1], lt:xs:dateTime[1..1], lte:xs:dateTime[1..1])[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DateTimeSearchParameter/eq (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DateTimeSearchParameter/neq (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DateTimeSearchParameter/gt (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DateTimeSearchParameter/gte (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DateTimeSearchParameter/lt (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DateTimeSearchParameter/lte (element)">
    Type: `xs:dateTime`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DurationSearchParameter (complexType)">
    ```text theme={null}
    choice(eq:xs:duration[1..1], neq:xs:duration[1..1], gt:xs:duration[1..1], gte:xs:duration[1..1], lt:xs:duration[1..1], lte:xs:duration[1..1])[1..unbounded]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DurationSearchParameter/eq (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DurationSearchParameter/neq (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DurationSearchParameter/gt (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DurationSearchParameter/gte (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DurationSearchParameter/lt (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="DurationSearchParameter/lte (element)">
    Type: `xs:duration`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="petitionContract (element)">
    ```text theme={null}
    extension(PetitionRequest) sequence(any(namespace=##other, processContents=strict)[0..1])[1..1]
    ```

    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `id`      | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="Petition (complexType)">
    ```text theme={null}
    sequence(properties[0..1], attachments[0..1])[1..1]
    ```

    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `pid`     | `xs:string` | required | —                      |
    | `purpose` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="Petition/properties (element)">
    ```text theme={null}
    sequence(property:xs:string[0..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Petition/properties/property (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Petition/attachments (element)">
    ```text theme={null}
    sequence(attachment:xs:string[0..unbounded])[1..1]
    ```

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="Petition/attachments/attachment (element)">
    Type: `xs:string`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="PetitionRequest (complexType)">
    ```text theme={null}
    extension(Petition) 
    ```

    | Attribute | Type              | Use      | Default or fixed value |
    | --------- | ----------------- | -------- | ---------------------- |
    | `nonce`   | `xs:string`       | required | —                      |
    | `s`       | `xs:base64Binary` | required | —                      |
  </Accordion>

  <Accordion title="PetitionMessage (complexType)">
    ```text theme={null}
    extension(Petition) sequence(id:identity[1..1], any(namespace=##other, processContents=strict)[0..1])[1..1]
    ```

    | Attribute | Type        | Use      | Default or fixed value |
    | --------- | ----------- | -------- | ---------------------- |
    | `from`    | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="petitionContractMsg (element)">
    Type: `PetitionMessage`.

    No attributes declared directly here. Check the referenced type or base type for inherited attributes.
  </Accordion>

  <Accordion title="petitionContractResponse (element)">
    ```text theme={null}
    sequence(any(namespace=##other, processContents=strict)[0..1])[1..1]
    ```

    | Attribute  | Type         | Use      | Default or fixed value |
    | ---------- | ------------ | -------- | ---------------------- |
    | `id`       | `xs:string`  | required | —                      |
    | `pid`      | `xs:string`  | required | —                      |
    | `jid`      | `xs:string`  | required | —                      |
    | `response` | `xs:boolean` | optional | false                  |
  </Accordion>

  <Accordion title="petitionContractResponseMsg (element)">
    ```text theme={null}
    sequence(contract[0..1], any(namespace=##other, processContents=strict)[0..1])[1..1]
    ```

    | Attribute  | Type         | Use      | Default or fixed value |
    | ---------- | ------------ | -------- | ---------------------- |
    | `pid`      | `xs:string`  | required | —                      |
    | `response` | `xs:boolean` | required | —                      |
  </Accordion>

  <Accordion title="addAttachment (element)">
    | Attribute    | Type              | Use      | Default or fixed value |
    | ------------ | ----------------- | -------- | ---------------------- |
    | `contractId` | `xs:string`       | required | —                      |
    | `getUrl`     | `xs:string`       | required | —                      |
    | `s`          | `xs:base64Binary` | required | —                      |
  </Accordion>

  <Accordion title="removeAttachment (element)">
    | Attribute      | Type        | Use      | Default or fixed value |
    | -------------- | ----------- | -------- | ---------------------- |
    | `attachmentId` | `xs:string` | required | —                      |
  </Accordion>

  <Accordion title="attachment (element)">
    | Attribute     | Type              | Use      | Default or fixed value |
    | ------------- | ----------------- | -------- | ---------------------- |
    | `id`          | `xs:string`       | required | —                      |
    | `legalId`     | `xs:string`       | required | —                      |
    | `contentType` | `xs:string`       | required | —                      |
    | `fileName`    | `xs:string`       | required | —                      |
    | `s`           | `xs:base64Binary` | required | —                      |
    | `timestamp`   | `xs:dateTime`     | required | —                      |
  </Accordion>

  <Accordion title="attachmentRef (element)">
    | Attribute      | Type        | Use      | Default or fixed value |
    | -------------- | ----------- | -------- | ---------------------- |
    | `attachmentId` | `xs:string` | required | —                      |
    | `url`          | `xs:anyURI` | required | —                      |
  </Accordion>

  <Accordion title="contractProposal (element)">
    ```text theme={null}
    sequence(sharedSecret[0..1])[1..1]
    ```

    | Attribute    | Type        | Use      | Default or fixed value |
    | ------------ | ----------- | -------- | ---------------------- |
    | `contractId` | `xs:string` | required | —                      |
    | `role`       | `xs:string` | required | —                      |
    | `message`    | `xs:string` | optional | —                      |
  </Accordion>

  <Accordion title="contractProposal/sharedSecret (element)">
    | Attribute   | Type              | Use      | Default or fixed value |
    | ----------- | ----------------- | -------- | ---------------------- |
    | `key`       | `xs:base64Binary` | required | —                      |
    | `algorithm` | `inline type`     | required | —                      |
  </Accordion>

  <Accordion title="failContract (element)">
    | Attribute    | Type        | Use      | Default or fixed value |
    | ------------ | ----------- | -------- | ---------------------- |
    | `contractId` | `xs:string` | required | —                      |
    | `reason`     | `xs:string` | required | —                      |
  </Accordion>
</AccordionGroup>
