> ## 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.

# LegalLab contract example library

> Choose and download original contract XML by use case, with roles, parameters, and schema requirements

These examples come from the LegalLab repository at revision `d6fac7d837fe244a0c057cd527635deebfc5088d`. You can download XML without installing LegalLab. Use the optional [LegalLab editor](/contracts/legallab-quickstart) to inspect a file, or open it in your text editor.

## Choose your starting point

| Goal                        | Example                        |
| --------------------------- | ------------------------------ |
| Learn typed inputs          | ParameterTypes in Syntax       |
| Add derived contract values | CalculatedParameters in Syntax |
| Define one token            | DemoToken in Tokens            |
| Inspect a state machine     | Calculator in StateMachines    |
| Explore payments and escrow | ProjectEscrow in StateMachines |

Each entry below links to the original XML preview and raw download. The structural summaries are extracted from those exact files. They do not establish provider approval or runtime compatibility; no example in this catalog has yet been verified against the target development Neuron.

42 original files pass local XML/schema checks with the [extended example dependency set](/resources/schemas#additional-legallab-example-schemas). Twelve of them require this extended set; the base eight schemas cover the other 30. Some files are payload or layout examples rather than complete contract templates; inspect the root and required dependencies before submission.

Before adapting an example, [validate its complete schema set](/resources/validate-xml), review every role and parameter, and confirm the intended behavior with your provider. Additional namespaces listed on an entry need their own schemas. Submit the resulting template through the [Agent API](/contracts/agent-api-quickstart).

## Browse the original contracts

### Construction

<AccordionGroup>
  <Accordion title="BIM project payload 1">
    **Original file:** `BimExample1.xml`. **Document kind:** payload-example.

    **Declared result:** Supplies example `BIMProject` data for its matching schema. It is not a complete contract template.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Construction/BimExample1.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Construction/BimExample1.xml)

    **Additional example schemas:** `https://lab.tagroot.io/Downloads/BimRegister.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** See the original document.

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    BIMProject
      BIMApplication
      BIMSite
    ```

    **Element namespaces:** `https://lab.tagroot.io/Downloads/BimRegister.xsd`.

    To adapt this file, update its schema-defined data or layout fields. Do not submit it directly to ProposeTemplate: that operation requires a complete contract envelope.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="BIM project payload 2">
    **Original file:** `BimExample2.xml`. **Document kind:** payload-example.

    **Declared result:** Supplies example `BIMProject` data for its matching schema. It is not a complete contract template.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Construction/BimExample2.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Construction/BimExample2.xml)

    **Additional example schemas:** `https://lab.tagroot.io/Downloads/BimRegister.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** See the original document.

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    BIMProject
      BIMApplication
      BIMSite
    ```

    **Element namespaces:** `https://lab.tagroot.io/Downloads/BimRegister.xsd`.

    To adapt this file, update its schema-defined data or layout fields. Do not submit it directly to ProposeTemplate: that operation requires a complete contract envelope.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="BIM register token">
    **Original file:** `BimRegister.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Construction/BimRegister.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Construction/BimRegister.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `BuildingId`        | `stringParameter`    |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Expires`           | `dateParameter`      |

    **Machine states:** `Registering`, `Done`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

### Logistics

<AccordionGroup>
  <Accordion title="Simple logistics order">
    **Original file:** `SimpleOrder.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Logistics/SimpleOrder.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Logistics/SimpleOrder.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Buyer` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyIndividual
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter          | XML type             |
    | ------------------ | -------------------- |
    | `NrItems`          | `numericalParameter` |
    | `ItemName`         | `calcParameter`      |
    | `PricePerItem`     | `calcParameter`      |
    | `PriceUnit`        | `calcParameter`      |
    | `VatPercent`       | `calcParameter`      |
    | `TotalNoVat`       | `calcParameter`      |
    | `Vat`              | `calcParameter`      |
    | `Transport`        | `calcParameter`      |
    | `Total`            | `calcParameter`      |
    | `DeliveryDays`     | `calcParameter`      |
    | `Expires`          | `calcParameter`      |
    | `ReferenceName`    | `roleParameter`      |
    | `ReferencePNr`     | `roleParameter`      |
    | `ReferenceCountry` | `roleParameter`      |
    | `ReferencePhoneNr` | `roleParameter`      |
    | `OrgName`          | `roleParameter`      |
    | `OrgNr`            | `roleParameter`      |
    | `OrgAddress`       | `roleParameter`      |
    | `OrgZip`           | `roleParameter`      |
    | `OrgCity`          | `roleParameter`      |
    | `OrgCountry`       | `roleParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

### Marketplace

<AccordionGroup>
  <Accordion title="Request a service">
    **Original file:** `BuyService.xml`. **Document kind:** contract-template.

    **Declared result:** Declares a `ToBuy` contract instruction. Its marketplace/provider outcome requires separate approval and execution verification.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Buying/BuyService.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Buying/BuyService.xml)

    **Additional example schemas:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Buyer` (1–1 signers), `Auctioneer` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    ToBuy
      Description
      Price
      Score
      AvailableDays
    ```

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `ProductNumber`     | `stringParameter`    |
    | `Quantity`          | `numericalParameter` |
    | `Description`       | `stringParameter`    |
    | `AskingPrice`       | `numericalParameter` |
    | `RejectPrice`       | `numericalParameter` |
    | `AcceptPrice`       | `numericalParameter` |
    | `CommissionPercent` | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `AvailableDays`     | `numericalParameter` |
    | `FromAddress1`      | `stringParameter`    |
    | `FromAddress2`      | `stringParameter`    |
    | `FromAddress3`      | `stringParameter`    |
    | `FromPostalCode`    | `stringParameter`    |
    | `FromCity`          | `stringParameter`    |
    | `FromCountry`       | `stringParameter`    |
    | `ToAddress1`        | `stringParameter`    |
    | `ToAddress2`        | `stringParameter`    |
    | `ToAddress3`        | `stringParameter`    |
    | `ToPostalCode`      | `stringParameter`    |
    | `ToCity`            | `stringParameter`    |
    | `ToCountry`         | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Offer a service">
    **Original file:** `OfferService.xml`. **Document kind:** contract-template.

    **Declared result:** Declares a `Offer` contract instruction. Its marketplace/provider outcome requires separate approval and execution verification.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Buying/OfferService.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Buying/OfferService.xml)

    **Additional example schemas:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Seller` (1–1 signers), `Auctioneer` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Offer
      ItemReference
      Price
      Currency
    ```

    | Parameter             | XML type             |
    | --------------------- | -------------------- |
    | `RequestForTendersId` | `stringParameter`    |
    | `Price`               | `numericalParameter` |
    | `Currency`            | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Offer an item">
    **Original file:** `OfferItem.xml`. **Document kind:** contract-template.

    **Declared result:** Declares a `Offer` contract instruction. Its marketplace/provider outcome requires separate approval and execution verification.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Selling/OfferItem.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Selling/OfferItem.xml)

    **Additional example schemas:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Buyer` (1–1 signers), `Auctioneer` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Offer
      ItemReference
      Price
      Currency
    ```

    | Parameter             | XML type             |
    | --------------------- | -------------------- |
    | `RequestForTendersId` | `stringParameter`    |
    | `Price`               | `numericalParameter` |
    | `Currency`            | `stringParameter`    |
    | `ToAddress1`          | `stringParameter`    |
    | `ToAddress2`          | `stringParameter`    |
    | `ToAddress3`          | `stringParameter`    |
    | `ToPostalCode`        | `stringParameter`    |
    | `ToCity`              | `stringParameter`    |
    | `ToCountry`           | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="List an item for sale">
    **Original file:** `SellItem.xml`. **Document kind:** contract-template.

    **Declared result:** Declares a `ForSale` contract instruction. Its marketplace/provider outcome requires separate approval and execution verification.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Selling/SellItem.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Selling/SellItem.xml)

    **Additional example schemas:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Seller` (1–1 signers), `Auctioneer` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    ForSale
      Description
      Price
      Score
      AvailableDays
    ```

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `ProductNumber`     | `stringParameter`    |
    | `Quantity`          | `numericalParameter` |
    | `Description`       | `stringParameter`    |
    | `AskingPrice`       | `numericalParameter` |
    | `RejectPrice`       | `numericalParameter` |
    | `AcceptPrice`       | `numericalParameter` |
    | `CommissionPercent` | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `AvailableDays`     | `numericalParameter` |
    | `FromAddress1`      | `stringParameter`    |
    | `FromAddress2`      | `stringParameter`    |
    | `FromAddress3`      | `stringParameter`    |
    | `FromPostalCode`    | `stringParameter`    |
    | `FromCity`          | `stringParameter`    |
    | `FromCountry`       | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="List a token for sale">
    **Original file:** `SellToken.xml`. **Document kind:** contract-template.

    **Declared result:** Declares a `ForSale` contract instruction. Its marketplace/provider outcome requires separate approval and execution verification.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Selling/SellToken.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Marketplace/Selling/SellToken.xml)

    **Additional example schemas:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Seller` (1–1 signers), `Auctioneer` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    ForSale
      Description
      Price
      AvailableDays
    ```

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `TokenID`           | `stringParameter`    |
    | `Category`          | `stringParameter`    |
    | `FriendlyName`      | `stringParameter`    |
    | `AskingPrice`       | `numericalParameter` |
    | `RejectPrice`       | `numericalParameter` |
    | `AcceptPrice`       | `numericalParameter` |
    | `CommissionPercent` | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `AvailableDays`     | `numericalParameter` |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/Marketplace.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

### Memberships

<AccordionGroup>
  <Accordion title="Membership token">
    **Original file:** `Membership.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/Membership.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/Membership.xml)

    **Additional example schemas:** `http://waher.se/Schema/Layout2D.xsd`, `https://lab.tagroot.io/Downloads/SimpleOrganization.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Member` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      Certifier
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag x 8
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter               | XML type                     |
    | ----------------------- | ---------------------------- |
    | `OrganizationReference` | `contractReferenceParameter` |
    | `Value`                 | `numericalParameter`         |
    | `Currency`              | `stringParameter`            |
    | `CommissionPercent`     | `numericalParameter`         |
    | `Expires`               | `dateParameter`              |
    | `MemberName`            | `roleParameter`              |
    | `MemberAddress`         | `roleParameter`              |
    | `MemberCountryCode`     | `roleParameter`              |
    | `MemberCountry`         | `calcParameter`              |
    | `MemberPnr`             | `roleParameter`              |
    | `ProfilePhoto`          | `roleParameter`              |

    **Element namespaces:** `http://waher.se/Schema/Layout2D.xsd`, `https://lab.tagroot.io/Downloads/SimpleOrganization.xsd`, `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Membership display layout">
    **Original file:** `MembershipLayout.xml`. **Document kind:** layout.

    **Declared result:** Defines a display layout. It is not a complete contract or an asset creation request.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/MembershipLayout.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/MembershipLayout.xml)

    **Additional example schemas:** `http://waher.se/Schema/Layout2D.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** See the original document.

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Layout2D
      SolidPen x 4
      SolidBackground x 5
      Font x 6
      Rectangle
      Overlays
    ```

    **Element namespaces:** `http://waher.se/Schema/Layout2D.xsd`.

    To adapt this file, update its schema-defined data or layout fields. Do not submit it directly to ProposeTemplate: that operation requires a complete contract envelope.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Organization token">
    **Original file:** `SimpleOrganization.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/SimpleOrganization.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/SimpleOrganization.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `Auditor` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      Certifier
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag x 2
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `OrgName`           | `stringParameter`    |
    | `OrgDescription`    | `stringParameter`    |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Expires`           | `dateParameter`      |

    **Machine states:** `Preparing`, `Inactive`, `Active`, `Closed`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Organization display layout">
    **Original file:** `SimpleOrganizationLayout.xml`. **Document kind:** layout.

    **Declared result:** Defines a display layout. It is not a complete contract or an asset creation request.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/SimpleOrganizationLayout.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Memberships/Simple/SimpleOrganizationLayout.xml)

    **Additional example schemas:** `http://waher.se/Schema/Layout2D.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** See the original document.

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Layout2D
      SolidPen x 10
      SolidBackground x 6
      Font x 17
      Rectangle
      Overlays
    ```

    **Element namespaces:** `http://waher.se/Schema/Layout2D.xsd`.

    To adapt this file, update its schema-defined data or layout fields. Do not submit it directly to ProposeTemplate: that operation requires a complete contract envelope.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

### StateMachines

<AccordionGroup>
  <Accordion title="Buy, transfer, and sell eDaler">
    **Original file:** `BuyTransferSellEDaler.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/BuyTransferSellEDaler.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/BuyTransferSellEDaler.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Buyer` (1–1 signers), `Seller` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyIndividual
      Definition
      Tag x 4
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Expires`           | `dateParameter`      |

    **Machine states:** `Active`, `Done`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Note-driven calculator">
    **Original file:** `Calculator.xml`. **Document kind:** contract-template.

    Inspect a note-driven machine with calculation actions and stored values. Its custom XML-note namespace is an additional schema dependency.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/Calculator.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/Calculator.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Certifier` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      Certifier
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Expires`           | `dateParameter`      |

    **Machine states:** `Calculating`, `Done`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Crowdfunding machine">
    **Original file:** `CrowdFunding.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/CrowdFunding.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/CrowdFunding.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `ProjectOwner` (1–1 signers), `EscrowAgent` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID x 5
      Creator
      Owner
      Certifier
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag x 8
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`, `Random`, `Random`, `Random`, `Random`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `MachineID`         | `stringParameter`    |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Expires`           | `dateParameter`      |
    | `ThresholdAmount`   | `numericalParameter` |
    | `MaxIntervalAmount` | `numericalParameter` |
    | `MaxInterval`       | `durationParameter`  |
    | `ProjectStart`      | `dateTimeParameter`  |

    **Machine states:** `OpenForInvestment`, `ThresholdNotReached`, `ProjectStarted`, `Done`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Digital sensor twin">
    **Original file:** `DigitalSensorTwin.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/DigitalSensorTwin.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/DigitalSensorTwin.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag x 11
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `NodeID`            | `stringParameter`    |
    | `SourceID`          | `stringParameter`    |
    | `PartitionID`       | `stringParameter`    |
    | `JID`               | `stringParameter`    |
    | `Momentary`         | `booleanParameter`   |
    | `Identity`          | `booleanParameter`   |
    | `Status`            | `booleanParameter`   |
    | `Computed`          | `booleanParameter`   |
    | `Peak`              | `booleanParameter`   |
    | `PollingInterval`   | `durationParameter`  |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Expires`           | `dateParameter`      |

    **Machine states:** `Active`, `Paused`, `Reconfiguring`, `Done`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Microloan machine">
    **Original file:** `MicroLoan.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/MicroLoan.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/MicroLoan.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Lender` (1–1 signers), `Borrower` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      Certifier
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag x 23
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter                | XML type             |
    | ------------------------ | -------------------- |
    | `Amount`                 | `numericalParameter` |
    | `Currency`               | `stringParameter`    |
    | `InstallmentInterval`    | `durationParameter`  |
    | `InterestPerInstallment` | `numericalParameter` |
    | `DebtLimit`              | `numericalParameter` |
    | `InstallmentAmount`      | `numericalParameter` |
    | `CommissionPercent`      | `numericalParameter` |
    | `Cost`                   | `calcParameter`      |
    | `RoI`                    | `calcParameter`      |
    | `NrInstallments`         | `calcParameter`      |
    | `EstimatedCompletion`    | `calcParameter`      |
    | `Expires`                | `calcParameter`      |
    | `LenderCountry`          | `calcParameter`      |
    | `BorrowerCountry`        | `calcParameter`      |
    | `CreatorCountry`         | `calcParameter`      |
    | `LenderName`             | `roleParameter`      |
    | `LenderAddress`          | `roleParameter`      |
    | `LenderCountryCode`      | `roleParameter`      |
    | `LenderPnr`              | `roleParameter`      |
    | `BorrowerName`           | `roleParameter`      |
    | `BorrowerAddress`        | `roleParameter`      |
    | `BorrowerCountryCode`    | `roleParameter`      |
    | `BorrowerPnr`            | `roleParameter`      |
    | `CreatorName`            | `roleParameter`      |
    | `CreatorAddress`         | `roleParameter`      |
    | `CreatorCountryCode`     | `roleParameter`      |
    | `CreatorPnr`             | `roleParameter`      |

    **Machine states:** `Setup`, `Paying`, `Paid`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Project escrow machine">
    **Original file:** `ProjectEscrow.xml`. **Document kind:** contract-template.

    Explore an advanced contract involving funds and staged actions. Provider rules and payment behavior must be reviewed before execution.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/ProjectEscrow.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/StateMachines/ProjectEscrow.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `ProjectOwner` (1–1 signers), `EscrowAgent` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      Certifier
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag x 7
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Expires`           | `dateParameter`      |
    | `ThresholdAmount`   | `numericalParameter` |
    | `MaxIntervalAmount` | `numericalParameter` |
    | `MaxInterval`       | `durationParameter`  |
    | `ProjectStart`      | `dateTimeParameter`  |

    **Machine states:** `OpenForInvestment`, `ThresholdNotReached`, `ProjectStarted`, `Done`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

### Syntax

<AccordionGroup>
  <Accordion title="Calculated parameter syntax">
    **Original file:** `CalculatedParameters.xml`. **Document kind:** contract-template.

    Learn how instance inputs feed calculated contract parameters. Compare the machine values with the human-readable parameter references.

    **Declared result:** Defines contract syntax and human-readable terms with a no-operation machine instruction.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/CalculatedParameters.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/CalculatedParameters.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Author` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Nop

    ```

    | Parameter | XML type             |
    | --------- | -------------------- |
    | `A`       | `numericalParameter` |
    | `B`       | `numericalParameter` |
    | `Sum`     | `calcParameter`      |
    | `Prod`    | `calcParameter`      |
    | `Pow`     | `calcParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Geospatial parameter syntax">
    **Original file:** `GeoSpatialParameters.xml`. **Document kind:** contract-template.

    **Declared result:** Defines contract syntax and human-readable terms with a no-operation machine instruction.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/GeoSpatialParameters.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/GeoSpatialParameters.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Author` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Nop

    ```

    | Parameter             | XML type          |
    | --------------------- | ----------------- |
    | `Observation`         | `stringParameter` |
    | `ObservationLocation` | `geoParameter`    |
    | `ObservationTime`     | `calcParameter`   |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Human-readable Markdown syntax">
    **Original file:** `Markdown.xml`. **Document kind:** contract-template.

    **Declared result:** Defines contract syntax and human-readable terms with a no-operation machine instruction.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/Markdown.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/Markdown.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Author` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Nop

    ```

    | Parameter | XML type          |
    | --------- | ----------------- |
    | `Example` | `stringParameter` |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Contract parameter types">
    **Original file:** `ParameterTypes.xml`. **Document kind:** contract-template.

    Compare typed parameter definitions and their constraints before defining your own contract inputs.

    **Declared result:** Defines contract syntax and human-readable terms with a no-operation machine instruction.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/ParameterTypes.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/ParameterTypes.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Nop

    ```

    | Parameter   | XML type             |
    | ----------- | -------------------- |
    | `Numeric1`  | `numericalParameter` |
    | `String1`   | `stringParameter`    |
    | `Boolean1`  | `booleanParameter`   |
    | `Date1`     | `dateParameter`      |
    | `DateTime1` | `dateTimeParameter`  |
    | `Time1`     | `timeParameter`      |
    | `Duration1` | `durationParameter`  |
    | `Calc1`     | `calcParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Role-reference parameters">
    **Original file:** `RoleReferenceParameters.xml`. **Document kind:** contract-template.

    **Declared result:** Defines contract syntax and human-readable terms with a no-operation machine instruction.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/RoleReferenceParameters.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Syntax/RoleReferenceParameters.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Seller` (1–1 signers), `Buyer` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Nop

    ```

    | Parameter         | XML type          |
    | ----------------- | ----------------- |
    | `Reference`       | `stringParameter` |
    | `SellerFirstName` | `roleParameter`   |
    | `SellerLastName`  | `roleParameter`   |
    | `BuyerFirstName`  | `roleParameter`   |
    | `BuyerLastName`   | `roleParameter`   |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

### Tokens

<AccordionGroup>
  <Accordion title="Create one token with supplied IDs">
    **Original file:** `CreateTokenContract1.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract1.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract1.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyIndividual
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID)`.

    | Parameter                   | XML type             |
    | --------------------------- | -------------------- |
    | `TokenID`                   | `stringParameter`    |
    | `Value`                     | `numericalParameter` |
    | `Currency`                  | `stringParameter`    |
    | `CommissionPercent`         | `numericalParameter` |
    | `Expires`                   | `dateParameter`      |
    | `CreatorCanDestroy`         | `booleanParameter`   |
    | `OwnerCanDestroyIndividual` | `booleanParameter`   |
    | `FriendlyName`              | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Create one token with random IDs">
    **Original file:** `CreateTokenContract1RandomId.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract1RandomId.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract1RandomId.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyIndividual
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter                   | XML type             |
    | --------------------------- | -------------------- |
    | `Value`                     | `numericalParameter` |
    | `Currency`                  | `stringParameter`    |
    | `CommissionPercent`         | `numericalParameter` |
    | `Expires`                   | `dateParameter`      |
    | `CreatorCanDestroy`         | `booleanParameter`   |
    | `OwnerCanDestroyIndividual` | `booleanParameter`   |
    | `FriendlyName`              | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Create one token with Unique ID values">
    **Original file:** `CreateTokenContract1UniqueId.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract1UniqueId.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract1UniqueId.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyIndividual
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Unique`.

    | Parameter                   | XML type             |
    | --------------------------- | -------------------- |
    | `Value`                     | `numericalParameter` |
    | `Currency`                  | `stringParameter`    |
    | `CommissionPercent`         | `numericalParameter` |
    | `Expires`                   | `dateParameter`      |
    | `CreatorCanDestroy`         | `booleanParameter`   |
    | `OwnerCanDestroyIndividual` | `booleanParameter`   |
    | `FriendlyName`              | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Create five tokens with supplied IDs">
    **Original file:** `CreateTokenContract5.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract5.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract5.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID x 5
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID1)`, `ParameterReference (parameter=TokenID2)`, `ParameterReference (parameter=TokenID3)`, `ParameterReference (parameter=TokenID4)`, `ParameterReference (parameter=TokenID5)`.

    | Parameter              | XML type             |
    | ---------------------- | -------------------- |
    | `TokenID1`             | `stringParameter`    |
    | `TokenID2`             | `stringParameter`    |
    | `TokenID3`             | `stringParameter`    |
    | `TokenID4`             | `stringParameter`    |
    | `TokenID5`             | `stringParameter`    |
    | `Value`                | `numericalParameter` |
    | `Currency`             | `stringParameter`    |
    | `CommissionPercent`    | `numericalParameter` |
    | `Expires`              | `dateParameter`      |
    | `CreatorCanDestroy`    | `booleanParameter`   |
    | `OwnerCanDestroyBatch` | `booleanParameter`   |
    | `FriendlyName`         | `stringParameter`    |
    | `TotalValue`           | `calcParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Create five tokens with random IDs">
    **Original file:** `CreateTokenContract5RandomId.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract5RandomId.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract5RandomId.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID x 5
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`, `Random`, `Random`, `Random`, `Random`.

    | Parameter              | XML type             |
    | ---------------------- | -------------------- |
    | `Value`                | `numericalParameter` |
    | `Currency`             | `stringParameter`    |
    | `CommissionPercent`    | `numericalParameter` |
    | `Expires`              | `dateParameter`      |
    | `CreatorCanDestroy`    | `booleanParameter`   |
    | `OwnerCanDestroyBatch` | `booleanParameter`   |
    | `FriendlyName`         | `stringParameter`    |
    | `TotalValue`           | `calcParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Create five tokens with Unique ID values">
    **Original file:** `CreateTokenContract5UniqueId.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract5UniqueId.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/CreateTokenContract5UniqueId.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID x 5
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Unique`, `Unique`, `Unique`, `Unique`, `Unique`.

    | Parameter              | XML type             |
    | ---------------------- | -------------------- |
    | `Value`                | `numericalParameter` |
    | `Currency`             | `stringParameter`    |
    | `CommissionPercent`    | `numericalParameter` |
    | `Expires`              | `dateParameter`      |
    | `CreatorCanDestroy`    | `booleanParameter`   |
    | `OwnerCanDestroyBatch` | `booleanParameter`   |
    | `FriendlyName`         | `stringParameter`    |
    | `TotalValue`           | `calcParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Achievement token">
    **Original file:** `Achievement.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/Specific/Achievement.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/Specific/Achievement.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `TrustProvider` (1–1 signers), `Recipient` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      CommissionPaidBy
      Expires
      CreatorCanDestroy
      OwnerCanDestroyIndividual
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Unique`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `Achievement`       | `stringParameter`    |
    | `Reference`         | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="One demonstration token">
    **Original file:** `DemoToken.xml`. **Document kind:** contract-template.

    Start with one token whose creator is also its initial owner. Review the value, commission, expiry, permissions, and friendly-name parameters.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/Specific/DemoToken.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/Specific/DemoToken.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyIndividual
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`.

    | Parameter                   | XML type             |
    | --------------------------- | -------------------- |
    | `Value`                     | `numericalParameter` |
    | `Currency`                  | `stringParameter`    |
    | `CommissionPercent`         | `numericalParameter` |
    | `Expires`                   | `dateParameter`      |
    | `CreatorCanDestroy`         | `booleanParameter`   |
    | `OwnerCanDestroyIndividual` | `booleanParameter`   |
    | `FriendlyName`              | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Five demonstration tokens">
    **Original file:** `DemoTokens5.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/Specific/DemoTokens5.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Create/Specific/DemoTokens5.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID x 5
      Creator
      Owner
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      Definition
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Random`, `Random`, `Random`, `Random`, `Random`.

    | Parameter                   | XML type             |
    | --------------------------- | -------------------- |
    | `Value`                     | `numericalParameter` |
    | `Currency`                  | `stringParameter`    |
    | `CommissionPercent`         | `numericalParameter` |
    | `Expires`                   | `dateParameter`      |
    | `CreatorCanDestroy`         | `booleanParameter`   |
    | `OwnerCanDestroyBatch`      | `booleanParameter`   |
    | `OwnerCanDestroyIndividual` | `booleanParameter`   |
    | `FriendlyName`              | `stringParameter`    |
    | `TotalValue`                | `calcParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/PaymentInstructions.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Destroy one token">
    **Original file:** `DestroyTokenContract1.xml`. **Document kind:** contract-template.

    **Declared result:** Declares destruction for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Destroy/DestroyTokenContract1.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Destroy/DestroyTokenContract1.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Destroy
      TokenID
      Owner
      TrustProvider
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID)`.

    | Parameter | XML type          |
    | --------- | ----------------- |
    | `TokenID` | `stringParameter` |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Destroy five tokens">
    **Original file:** `DestroyTokenContract5.xml`. **Document kind:** contract-template.

    **Declared result:** Declares destruction for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Destroy/DestroyTokenContract5.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Destroy/DestroyTokenContract5.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Owner` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Destroy
      TokenID x 5
      Owner
      TrustProvider
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID1)`, `ParameterReference (parameter=TokenID2)`, `ParameterReference (parameter=TokenID3)`, `ParameterReference (parameter=TokenID4)`, `ParameterReference (parameter=TokenID5)`.

    | Parameter  | XML type          |
    | ---------- | ----------------- |
    | `TokenID1` | `stringParameter` |
    | `TokenID2` | `stringParameter` |
    | `TokenID3` | `stringParameter` |
    | `TokenID4` | `stringParameter` |
    | `TokenID5` | `stringParameter` |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Donate one token">
    **Original file:** `DonateTokenContract1.xml`. **Document kind:** contract-template.

    **Declared result:** Declares donation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Donate/DonateTokenContract1.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Donate/DonateTokenContract1.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Donor` (1–1 signers), `Recipient` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Donate
      TokenID
      Donor
      Recipient
      TrustProvider
      OwnershipContract
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID)`.

    | Parameter           | XML type          |
    | ------------------- | ----------------- |
    | `TokenID`           | `stringParameter` |
    | `OwnershipContract` | `stringParameter` |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Donate five tokens">
    **Original file:** `DonateTokenContract5.xml`. **Document kind:** contract-template.

    **Declared result:** Declares donation for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Donate/DonateTokenContract5.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Donate/DonateTokenContract5.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Donor` (1–1 signers), `Recipient` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Donate
      TokenID x 5
      Donor
      Recipient
      TrustProvider
      OwnershipContract
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID1)`, `ParameterReference (parameter=TokenID2)`, `ParameterReference (parameter=TokenID3)`, `ParameterReference (parameter=TokenID4)`, `ParameterReference (parameter=TokenID5)`.

    | Parameter           | XML type          |
    | ------------------- | ----------------- |
    | `TokenID1`          | `stringParameter` |
    | `TokenID2`          | `stringParameter` |
    | `TokenID3`          | `stringParameter` |
    | `TokenID4`          | `stringParameter` |
    | `TokenID5`          | `stringParameter` |
    | `OwnershipContract` | `stringParameter` |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Transfer one token">
    **Original file:** `TransferTokenContract1.xml`. **Document kind:** contract-template.

    **Declared result:** Declares ownership transfer for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Transfer/TransferTokenContract1.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Transfer/TransferTokenContract1.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Seller` (1–1 signers), `Buyer` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Transfer
      TokenID
      Seller
      Buyer
      TrustProvider
      Value
      Currency
      CommissionPercent
      OwnershipContract
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID)`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `TokenID`           | `stringParameter`    |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `OwnershipContract` | `stringParameter`    |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Transfer five tokens">
    **Original file:** `TransferTokenContract5.xml`. **Document kind:** contract-template.

    **Declared result:** Declares ownership transfer for 5 token identifiers. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Transfer/TransferTokenContract5.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Tokens/Transfer/TransferTokenContract5.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Seller` (1–1 signers), `Buyer` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Transfer
      TokenID x 5
      Seller
      Buyer
      TrustProvider
      Value
      Currency
      CommissionPercent
      OwnershipContract
    ```

    **Token ID definitions:** `ParameterReference (parameter=TokenID1)`, `ParameterReference (parameter=TokenID2)`, `ParameterReference (parameter=TokenID3)`, `ParameterReference (parameter=TokenID4)`, `ParameterReference (parameter=TokenID5)`.

    | Parameter           | XML type             |
    | ------------------- | -------------------- |
    | `TokenID1`          | `stringParameter`    |
    | `TokenID2`          | `stringParameter`    |
    | `TokenID3`          | `stringParameter`    |
    | `TokenID4`          | `stringParameter`    |
    | `TokenID5`          | `stringParameter`    |
    | `Value`             | `numericalParameter` |
    | `Currency`          | `stringParameter`    |
    | `CommissionPercent` | `numericalParameter` |
    | `OwnershipContract` | `stringParameter`    |
    | `TotalValue`        | `calcParameter`      |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

### Voting

<AccordionGroup>
  <Accordion title="Yes/no/abstain ballot payload">
    **Original file:** `OpenBallotYesNoAbstain.xml`. **Document kind:** contract-template.

    **Declared result:** Declares a `Ballot` contract instruction. Its marketplace/provider outcome requires separate approval and execution verification.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Voting/OpenBallotYesNoAbstain.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Voting/OpenBallotYesNoAbstain.xml)

    **Additional example schemas:** `https://paiwise.tagroot.io/Schema/OpenVote.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Voter` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Ballot
      Option x 3
    ```

    | Parameter        | XML type                     |
    | ---------------- | ---------------------------- |
    | `VoteReference`  | `contractReferenceParameter` |
    | `Yes`            | `booleanParameter`           |
    | `No`             | `booleanParameter`           |
    | `Abstain`        | `booleanParameter`           |
    | `Comment`        | `stringParameter`            |
    | `FullName`       | `roleParameter`              |
    | `PersonalNumber` | `roleParameter`              |
    | `Country`        | `roleParameter`              |

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/OpenVote.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Voting result display layout">
    **Original file:** `OpenVoteResultLayout.xml`. **Document kind:** layout.

    **Declared result:** Defines a display layout. It is not a complete contract or an asset creation request.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Voting/OpenVoteResultLayout.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Voting/OpenVoteResultLayout.xml)

    **Additional example schemas:** `http://waher.se/Schema/Layout2D.xsd`. Load these dependencies alongside the base schemas using the [validation guide](/resources/validate-xml).

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** See the original document.

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Layout2D
      SolidPen x 9
      SolidBackground x 5
      Font x 16
      Rectangle
      Overlays
    ```

    **Element namespaces:** `http://waher.se/Schema/Layout2D.xsd`.

    To adapt this file, update its schema-defined data or layout fields. Do not submit it directly to ProposeTemplate: that operation requires a complete contract envelope.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>

  <Accordion title="Open-voting token">
    **Original file:** `OpenVoteYesNoAbstain.xml`. **Document kind:** contract-template.

    **Declared result:** Declares creation for 1 token identifier. Provider approval, signatures, and execution must be verified separately.

    [View original XML](https://github.com/Trust-Anchor-Group/LegalLab/blob/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Voting/OpenVoteYesNoAbstain.xml) · [Download XML](https://raw.githubusercontent.com/Trust-Anchor-Group/LegalLab/d6fac7d837fe244a0c057cd527635deebfc5088d/ExampleContracts/Voting/OpenVoteYesNoAbstain.xml)

    **Local XML validation:** Passes the selected schema and explicit machine-reference checks.

    **Required roles:** `Creator` (1–1 signers), `Certifier` (1–1 signers), `TrustProvider` (1–1 signers).

    **Structural preview** (an outline, not copy-paste XML):

    ```text theme={null}
    Create
      TokenID
      Creator
      Owner
      Certifier
      TrustProvider
      Value
      Currency
      CommissionPercent
      Expires
      CreatorCanDestroy
      OwnerCanDestroyBatch
      OwnerCanDestroyIndividual
      CertifierCanDestroy
      Definition
      Tag x 9
      FriendlyName
      Category
      Description
      Glyph
    ```

    **Token ID definitions:** `Unique`.

    | Parameter           | XML type            |
    | ------------------- | ------------------- |
    | `Question`          | `stringParameter`   |
    | `ChangeVoteAllowed` | `booleanParameter`  |
    | `LedgerCollection`  | `stringParameter`   |
    | `From`              | `dateTimeParameter` |
    | `To`                | `dateTimeParameter` |
    | `Expires`           | `dateParameter`     |
    | `CreatorFullName`   | `roleParameter`     |
    | `CreatorJid`        | `roleParameter`     |
    | `CreatorEMail`      | `roleParameter`     |

    **Machine states:** `Preparing`, `Pending`, `Open`, `Closed`, `Terminated`.

    **Element namespaces:** `https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd`, `https://paiwise.tagroot.io/Schema/StateMachines.xsd`, `urn:nf:iot:leg:sc:1.0`.

    To adapt this template, supply the exact role assignments and parameter names above, review fixed values in the original XML, and align the human-readable terms with every changed machine rule. Validate before provider review.

    **Tested Neuron runtime:** not yet recorded. Local XML validity does not establish the declared result.
  </Accordion>
</AccordionGroup>

## Adapt an example deliberately

Replace template-specific identifiers, role assignments, provider attributes, and parameter values. Explain each machine rule in the human-readable terms. Revalidate after changes; changing a reviewed template can require a new approval.

The originals remain published by LegalLab's authors. Their presence in this gallery does not grant additional redistribution rights. The [machine-readable catalog](/downloads/contract-examples.json) records provenance, hashes, and structure for each file.

The [local validation results](/downloads/legal-lab-validation.json) identify the exact schema set, original hashes, and unresolved dependencies. These checks do not execute expressions inside escaped XML, approve a template, or test provider behavior.
